Recerc

Create product collection

Creates a product collection in the current workspace.

POST/api/products/collections

Creates a product collection in the current workspace.

Request Body

application/json

Request payload for Create product collection.

name*string

Display name for the collection.

Length1 <= length
handle*string

Stable collection handle used in URLs and automation references.

Length1 <= length
kind*string

Whether the collection is manually curated or rule-driven.

Value in"static" | "dynamic"
Example"static"
filterJson?||

Stored filter definition for dynamic collections.

metadata?|

Additional metadata stored with the collection.

[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json