Menu
Attach a warehouse to a shop country
Attach a warehouse to a shop country
POST
/shops/{shopKey}/countries/{countryCode}/warehousesUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Attach a warehouse to a shop country action (under Warehouses).
- Fill in the fields below, then reference the result from later steps as
{{attachAWarehouseToAShopCountry.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"referenceKey": "my-warehouse",
"id": 1,
"priority": 100,
"packageGroup": {
"id": 1
}
}
Response
Returns 201 with an object. Read it in later steps with {{attachAWarehouseToAShopCountry.response.data.<field>}}.
{
"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.
Was this page helpful?