Add and remove item attribute conditions
Adds conditions for item attributes so that items can be filtered based on these conditions, from an Alternate category.
For example, a Primary category called Chairs has three chairs of different materials. An Alternate category called Wooden Chairs with Primary category Chairs as source will list all the three chairs. Through this endpoint you can add a ‘item attribute condition’ to filter chairs made of wood from Wooden Chairs. Another example: Using this endpoint, you can combine categories and list items on sale (where sale attribute is true).
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Body
A 24-character system-generated category ID. nodeId
and id
are the two identifier of a category, and one of them must be specified.
Numeric category ID. nodeId
and id
are the two identifier of a category, and one of them must be specified.
Details of conditions set or unset
Response
A 24-character system-generated category ID
Numeric category ID
Was this page helpful?