Is there any more documentation about the "published_scope" field for custom collections? What is the field used for?
From: http://docs.shopify.com/api/customcollection
published_scope
{ "published_scope" : "global"}
The sales channels in which the custom collection is visible.
Thank you!
"global" means it will be visible everywhere and "web" means it won't show up on Point of Sale.
Hi @laura44 ,
If you are a merchant/store-owner you can set this through the Shopify Admin webpage by going opening the page for your specific product, and then on the right side of the screen clicking the "Manage" link next to Product Availability to select which channels you want your product to be published on.
However if you are building an app and want to accomplish this via the API and not use the web admin, this is only possible through GraphQL using the following resources:
In order to perform these mutations, your app will need the scope "write_publications". As of right now, we are only granting this scope to Private Apps. If you would like your Private App to have this scope, go to your Shopify Partners Dashboard and reach out to 'Partner Support' for more details.
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
User | Count |
---|---|
13 | |
12 | |
8 | |
8 | |
4 |