Download OpenAPI specification:Download
API to manage collection merchandising configurations for collections
Allows clients to set merchandising rules for their collections, including promoting, pinning, burying, or hiding products.
collection_id required | string Unique identifier for the collection |
X-Site-UUID required | string Unique identifier for the site |
X-Store-ID required | string Unique identifier for the store |
Merchandising configuration details
object (CollectionRule) | |
object (DateRange) |
{- "rules": {
- "bury": [
- null
], - "promote": [
- null
], - "hide": [
- null
], - "pin": [
- {
- "product_id": "string",
- "position": 0
}
]
}, - "dates": {
- "start": 0,
- "end": 0
}
}
{- "message": "string"
}
Retrieve the current merchandising settings for a specified collection.
collection_id required | string Unique identifier for the collection |
X-Site-UUID required | string Unique identifier for the site |
X-Store-ID required | string Unique identifier for the store |
[- {
- "promoted": [
- "string"
], - "buried": [
- "string"
], - "hidden": [
- "string"
], - "pinned": {
- "property1": 0,
- "property2": 0
}, - "rule_id": "string"
}
]
Allows clients to delete a specific merchandising rule from their collections by specifying the rule ID.
collection_id required | string Unique identifier for the collection |
rule_id required | string Unique identifier for the rule to be deleted |
X-Site-UUID required | string Unique identifier for the site |
X-Store-ID required | string Unique identifier for the store |
{- "message": "string"
}