Put product channels
PUT
/ admin/ v1/ stores/ {store_id}/ products/ {product_id}/ channels- products:write
Replace where a product is sold.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.product_idstringrequiredThe product's ID, like
prod_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
channelsarray of enumsrequired- online_store
- point_of_sale
- storefront_api
Returns
200 The product's channels.
Errors
- 404
not_foundNo such product. - 422
validation_failedUnknown channel.