Commerce

Create a collection

Creates a collection, optionally with hand-picked products. On Shopify the collection starts unpublished from the online store; publish it from the Shopify admin.

post/v1/commerce/collections

Request body

accountIdstring required
titlestring required
descriptionHtmlstring
handlestring
sortOrder'manual' | 'best_selling' | 'alpha_asc' | 'alpha_desc' | 'price_asc' | 'price_desc' | 'created' | 'created_desc' | 'most_relevant'
productIdsstring[]

Response

Collection created

Changes

Changed in 2 of the 60 revisions of this API.2