Skip to main content
POST
Create Product Collection

Headers

Version
enum<string>
required

API Version

Available options:
2021-07-28

Body

application/json
altId
string
required

Location Id

Example:

"6578278e879ad2646715ba9c"

altType
enum<string>
required

The type of alt. For now it is only LOCATION

Available options:
location
Example:

"LOCATION"

name
string
required

Name of the Product Collection

Example:

"Best Sellers"

slug
string
required

Slug of the Product Collection which helps in navigation

Example:

"best-sellers"

collectionId
string

Unique Identifier of the Product Collection, Mongo Id

Example:

"66057f9d28536eae584ec047"

image
string

The URL of the image that is going to be displayed as the collection Thumbnail

Example:

"http://example.com/watermark.png"

type
enum<string>

Type of collection - manual or smart

Available options:
manual,
smart
Example:

"manual"

rules
object
productIds
string[]

Array of product IDs for manual collections (required if type is manual)

Example:
seo
object
ruleHash
string

Hash of the rules for change detection (auto-generated)

Example:

"abc123def456"

ruleVersion
number

Version of the rules for smart collections (auto-generated)

Example:

1

stats
object

Statistics about the collection (auto-generated)

Response

Successful response

data
object
required
Last modified on March 8, 2026