merchandising-api (1.0.0)

Download OpenAPI specification:Download

API to manage collection merchandising configurations for collections

Visual Merchandising

Configure merchandising for a collection

Allows clients to set merchandising rules for their collections, including promoting, pinning, burying, or hiding products.

Authorizations:
api_key
path Parameters
collection_id
required
string

Unique identifier for the collection

header Parameters
X-Site-UUID
required
string

Unique identifier for the site

X-Store-ID
required
string

Unique identifier for the store

Request Body schema: application/json
required

Merchandising configuration details

object (CollectionRule)
object (DateRange)

Responses

Request samples

Content type
application/json
{
  • "rules": {
    },
  • "dates": {
    }
}

Response samples

Content type
application/json
{
  • "message": "string"
}

Get merchandising settings for a collection

Retrieve the current merchandising settings for a specified collection.

Authorizations:
api_key
path Parameters
collection_id
required
string

Unique identifier for the collection

header Parameters
X-Site-UUID
required
string

Unique identifier for the site

X-Store-ID
required
string

Unique identifier for the store

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Delete a merchandising rule from a collection

Allows clients to delete a specific merchandising rule from their collections by specifying the rule ID.

Authorizations:
api_key
path Parameters
collection_id
required
string

Unique identifier for the collection

query Parameters
rule_id
required
string

Unique identifier for the rule to be deleted

header Parameters
X-Site-UUID
required
string

Unique identifier for the site

X-Store-ID
required
string

Unique identifier for the store

Responses

Response samples

Content type
application/json
{
  • "message": "string"
}