Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Retrieving inventory items for order pickup

Retrieving inventory items for order pickup

jSmiller
New Member
4 0 0

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?

 

Reply 1 (1)

_JB
Shopify Staff (Retired)
836 100 223

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