Menu
Create or update a shop category country configuration
Create or update a shop category country configuration
POST
/shops/{shopKey}/countries/{countryCode}/categories/{shopCategoryId}Use it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Create or update a shop category country configuration action (under ShopCategories).
- Fill in the fields below, then reference the result from later steps as
{{createOrUpdateAShopCategoryCountryConfiguration.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"countryCode": "DE",
"shopCountryId": 1,
"path": "/my-shop-category",
"isActive": true,
"isVisible": true,
"isExcludedFromSearch": true,
"isIncludedInSearchWhenInvisible": false,
"properties": [
{
"key": "myKey",
"value": "myValue"
}
],
"customData": null,
"smartSortingKey": "summer-priority",
"customSortingKey": "string",
"customerSegmentOverrides": [
{
"customerSegmentId": "4c9a1e2f-0f1b-4c8e-9a3d-7b5e2f1a8c40",
"priority": 100,
"smartSortingKey": "scayle:v1:new-arrivals",
"customSortingKey": "deals",
"isActive": true
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{createOrUpdateAShopCategoryCountryConfiguration.response.data.<field>}}.
{
"countryCode": "DE",
"shopCountryId": 1,
"path": "/my-shop-category",
"isActive": true,
"isVisible": true,
"isExcludedFromSearch": true,
"isIncludedInSearchWhenInvisible": false,
"properties": [
{
"key": "myKey",
"value": "myValue"
}
],
"customData": null,
"smartSortingKey": "summer-priority",
"customSortingKey": "string",
"customerSegmentOverrides": [
{
"customerSegmentId": "4c9a1e2f-0f1b-4c8e-9a3d-7b5e2f1a8c40",
"priority": 100,
"smartSortingKey": "scayle:v1:new-arrivals",
"customSortingKey": "deals",
"isActive": true
}
]
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?