Commerce

Publish or unpublish a collection

Publishes to and/or unpublishes from sales channels (the online store, Shop, POS and others). List channels with GET /v1/commerce/channels.

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

Path parameters

collectionIdstring required

Platform-native id.

Request body

accountIdstring required
publishstring[]

Channel ids from GET /v1/commerce/channels.

unpublishstring[]

Response

Publication changed

collectionIdstring
publishedstring[]
unpublishedstring[]

Changes

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