Commerce

Add or remove products in a collection

Adds and/or removes hand-picked products. Products a collection includes through its own rules are not affected. pending is true when the platform finishes the change in the background; the product count then catches up a few seconds later.

post/v1/commerce/collections/{collectionId}/products

Path parameters

collectionIdstring required

Platform-native collection id.

Request body

accountIdstring required
addstring[]
removestring[]

Response

Membership changed

pendingboolean

Changes

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