Collections
Create Collection
Create a collection. Clauses are optional so an empty collection can be curated later.
Invalid brand, website, or category ids, including ids in exclude lists, return 422.
POST
Python
Body
application/json
OR across clauses. Within a clause, brand_ids, website_ids, and category_ids are ORed inside each list and ANDed across lists. Exclusions narrow that clause only and do not apply across the OR. Empty is allowed so a collection can be created before any items are added.