Commerce

Publish or unpublish a product

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/products/{productId}/channels

Path parameters

productIdstring required

Platform-native id.

Request body

accountIdstring required
publishstring[]

Channel ids from GET /v1/commerce/channels.

unpublishstring[]

Response

Publication changed

productIdstring
publishedstring[]
unpublishedstring[]

Changes