Create product collection
Creates a product collection in the current workspace.
POST
/api/products/collectionsCreates a product collection in the current workspace.
Request Body
application/json
Request payload for Create product collection.
name*string
Display name for the collection.
Length
1 <= lengthhandle*string
Stable collection handle used in URLs and automation references.
Length
1 <= lengthkind*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