younifyd
Menu

Update an existing shop country warehouse relation

Update an existing shop country warehouse relation

PUT/shops/{shopKey}/countries/{countryCode}/warehouses/{warehouseIdentifier}

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Update an existing shop country warehouse relation action (under Warehouses).
  3. Fill in the fields below, then reference the result from later steps as {{updateAnExistingShopCountryWarehouseRelation.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.

warehouseIdentifieroneOfrequired

Warehouse ID or reference key. If you are using a reference key, it is highly recommended to use the encoded equal sign (%3D) instead of the plain =

Request body

Enter the body as JSON in the step's Body field.

idinteger

The ID of the warehouse created by SCAYLE.

referenceKeystringrequired

A key that uniquely identifies the warehouse within the tenant's ecosystem.

priorityinteger

The priority of the warehouse. The higher the value, the higher the priority.

packageGroupobject
idintegerrequired

The ID of the package group.

json
{
  "referenceKey": "my-warehouse",
  "id": 1,
  "priority": 100,
  "packageGroup": {
    "id": 1
  }
}

Response

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

idinteger

The ID of the warehouse created by SCAYLE.

referenceKeystring

A key that uniquely identifies the warehouse within the tenant's ecosystem.

priorityinteger

The priority of the warehouse. The higher the value, the higher the priority.

packageGroupobject
idintegerrequired

The ID of the package group.

json
{
  "referenceKey": "my-warehouse",
  "id": 1,
  "priority": 100,
  "packageGroup": {
    "id": 1
  }
}

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

Update an existing shop country warehouse relation — SCAYLE Admin — Documentation