A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi!
I'm building a private app for ordering products and picking them up at the store, I'm retrieving all product variants for the specific location using inventory levels and inventory items, but I need to retrieve specifically items that don't require shipping by using the field on inventory items, is there a way to query in graphql using fields as custom filters?
Hey @jSmiller,
The API doesn't currently allow you to filter on requiresShipping, so for now you'll need to get all products. The bulkOperation endpoint can help make this quicker. I'll submit feedback to our product teams regarding this filter.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog