Private App Admin and Storefront API - No Products Available

hutman
New Member
2 0 1

I have created a private app which uses both the Admin API and the Storefront API.  I am creating products within my shop using the Admin API, and then trying to retrieve those products for display/sales with the Storefront API.  I am running into an issue where when I add a product using the Admin API with the settings 'published': true, 'published_scope': 'global' the product is not available from my Storefront API, I have to login to the Shopify Store and "Make Products Available" on my API's Storefront.

It seems like if you create a product with an app that has the Storefront API enabled and you set the published_scope to global it should be available for that Storefront API.  But that doesn't seem to be the case.  

Is there a setting I am missing in the Admin API to make this possible?  OR is there a Webhook I can setup so that when a product is created I can send out a notification to my App and somehow add the correct Storefront availability?  

Reply 1 (1)
hutman
New Member
2 0 1

I found the answer I just needed to do a second API call to enable this product listing within my app - https://help.shopify.com/en/api/reference/sales_channels/productlisting#create