younifyd
Menu

Get a collection of package groups assigned to given shop

Get a collection of package groups assigned to given shop

GET/shops/{shopKey}/countries/{countryCode}/package-groups

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get a collection of package groups assigned to given shop action (under PackageGroups).
  3. Fill in the fields below, then reference the result from later steps as {{getACollectionOfPackageGroupsAssignedToGivenShop.response.data}}.

Request

Path parameters

shopKeystringrequired

The shop key.

countryCodestringrequired

The shop country code; use shop country ID instead of country code when a country is ambiguous within a shop.

Response

Returns 200 with an object. Read it in later steps with {{getACollectionOfPackageGroupsAssignedToGivenShop.response.data.<field>}}.

entitiesarray<object>
idintegerrequired

The ID of the package group.

json
{
  "entities": [
    {
      "id": 1
    }
  ]
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.

Get a collection of package groups assigned to given shop — SCAYLE Admin — Documentation