Shopify Rest APIs provides an attribute ‘published_scope’ that denotes where the product will be published, while creating a product, where the values could be either web (online store) or global (both online and POS).
But I am using GraphQL APIs for creating a product. Do we have something similar in GraphQL API? I need to publish my product using API conditionally. Some could be only for web and others for both web and POS stores.
As mentioned there, id is the resource id, so that would br the Product ID. Where can I find this publication Id? can you give me some format or steps where to find this?
I believe that publicationId is being used now rather than the channelId field, which has been deprecated. Looking at the docs I believe you would use the same value as you would for channelId.