younifyd
Menu

Update or create a shop category property

Update or create a shop category property

POST/shops/{shopKey}/countries/{countryCode}/categories/{shopCategoryId}/properties

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Update or create a shop category property action (under ShopCategories).
  3. Fill in the fields below, then reference the result from later steps as {{updateOrCreateAShopCategoryProperty.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.

shopCategoryIdintegerrequired

Shop category ID.

Request body

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

keystringrequired

The key of the shop category property.

valuestringrequired

The value of the shop category property.

json
{
  "key": "myKey",
  "value": "myValue"
}

Response

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

keystring

The key of the shop category property.

valuestring

The value of the shop category property.

json
{
  "key": "myKey",
  "value": "myValue"
}

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

Update or create a shop category property — SCAYLE Admin — Documentation