Product Listing to Sales Channeles using API

eSwap
New Member
4 0 0

Hi there.
I am developing a shopify integration, and stuck on sales channels. I need to publish products to account all channels when creating new product.
I am trying to do this using API(/admin/api/2020-07/product_listings/{product_listing_id}.json),


https://shopify.dev/docs/admin-api/rest/reference/sales-channels/productlisting?api[version]=2020-07...


but when I send request , it returns "response: 404 not found".
What is the problem, and how to solve this.


thanks

0 Likes
CalD
Shopify Staff
Shopify Staff
139 20 28

Hey @eSwap,

Has your app already been approved to be a sales channel? The ProductListing resource is available to sales channel applications only (more info on the sales channel application process here).

Also of note - sales channels are only able to publish products via the ProductListing API to themselves, it isn't currently possible to publish a product to other sales channels via API.

CalD | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes