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
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022