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?
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
Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...By Gabe Jan 6, 2023
How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...By Skye Dec 30, 2022