Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I use GraphQL Admin API to get the number of products
I use the product statistics api posts_status:approved
But the number of products that do not select channels cannot be excluded
Solved! Go to the solution
This is an accepted solution.
I use the GraphQL Admin API 2024-10 version to filter by the publication_ids parameter, which can filter channels. The channel acquisition interface is https://shopify.dev/docs/api/admin-graphql/2024-04/queries/publications
This is an accepted solution.
I use the GraphQL Admin API 2024-10 version to filter by the publication_ids parameter, which can filter channels. The channel acquisition interface is https://shopify.dev/docs/api/admin-graphql/2024-04/queries/publications
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025