Pick the Update an existing shop category action (under ShopCategories).
Fill in the fields below, then reference the result from later steps as {{updateAnExistingShopCategory.response.data}}.
Request
Path parameters
shopKeystringrequired
The shop key.
shopCategoryIdintegerrequired
Shop category ID.
Query parameters
withany
Comma-separated list of additional properties that should be included in the response.
blockSupportedFilterGroupsPropagationboolean
If set to true, then updates on supported filter groups don't get propagated to descendants.
Default false
Response
Returns 200 with an object. Read it in later steps with {{updateAnExistingShopCategory.response.data.<field>}}.
idinteger
The ID of the shop category.
parentIdinteger
The ID of the parent shop category.
leftSiblingIdinteger
The ID of the left sibling shop category. It defines the shop category position in the category tree.
nameobject
The localized category name.
productSetsarray<object>
Product sets define which products to include in the shop category.
productSetIdinteger
The ID of the product set.
referencedProductSetIdinteger
The ID of the referenced product set.
includeProductIdsarray<integer>
Product IDs, which are explicitly included in the shop category (limited to a maximum of 10,000 Product IDS).
excludeProductIdsarray<integer>
Product IDs, which are explicitly excluded from the shop category (limited to a maximum of 10,000 Product IDS).
isNewboolean
Declares whether the product set should only contain new products.
One oftrue
attributesarray<object>3 fields
Defines which products to include or exclude by attributes.
supportedFilterGroupsarray<string>
List of supported filter groups.
propertiesarray<object>
The properties assigned to the shop category. Can be specified on creation only.
keystringrequired
The key of the shop category property.
valuestringrequired
The value of the shop category property.
isActiveboolean
Declares whether the shop category is active or not. Can be specified on creation only.
isVisibleboolean
Declares whether the shop category is visible in the shop or not. Can be specified on creation only.
isExcludedFromSearchboolean
Declares whether the shop category should be excluded from search.
isIncludedInSearchWhenInvisibleboolean
Declares whether the shop category should still be included in search results while it is invisible.
Default false
customDataany
Arbitrary fields assigned to shop categories
countriesarray<object>
List of country specific configurations.
countryCodestring
ISO 3166 alpha 2 country code.
shopCountryIdinteger
Id of Shop Country.
pathstring
String representation of the URL path to the category.
isActiveboolean
Declares whether the shop category is active or not.
isVisibleboolean
Declares whether the shop category is visible in the shop or not.
isExcludedFromSearchboolean
Declares whether the shop category country should be excluded from search.
isIncludedInSearchWhenInvisibleboolean
Declares whether the shop category country should still be included in search results while it is invisible.
Default false
propertiesarray<object>2 fields
The properties assigned to the shop category.
customDataany
smartSortingKeyoneOf
System smart sorting key or custom smart sorting key from the catalog.
customSortingKeystring
A custom sorting key that will be applied to sort the products displayed in a shopCategoryCountry.
customerSegmentOverridesarray<object>5 fields
Customer segment sorting overrides for this shop category country.
Each item must include at least one of `smartSortingKey` or `customSortingKey`, and a priority. An item with neither key is rejected.
Returned on shop category reads when `with=countries.customerSegmentOverrides` is set, and on shop category country reads when `with=customerSegmentOverrides` is set.
On write, omit the property to leave existing assignments unchanged, send an empty array to remove them, or send items to replace the full set.
Each `customerSegmentId` and each `priority` must be unique. At most 30 overrides are accepted.
Only active customer segments can be attached.
Overrides are accepted only when `smartSortingKey` or `customSortingKey` is also present in the same request.