Commerce

Update a collection

Partial update; at least one field besides accountId is required. Change membership with POST /v1/commerce/collections/{collectionId}/products.

patch/v1/commerce/collections/{collectionId}

Path parameters

collectionIdstring required

Platform-native collection id.

Request body

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

Response

Collection updated

Changes

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