ON HOLD order lineitems in Shopify

Anyone know how to tell if an order is on "ON HOLD"? From what I can find in the documentation/AI chat, it should be in shopifyOrderLineItem > fulfillableQuantity. If > 0 then lineitem can be fulfilled, =0 then it is already fulfilled or on hold etc. but I am not see this in practice with an ON HOLD order. Is there some other way to tell if the lineitem is ON HOLD?
2 Replies
joeEv
joeEv3w ago
You can get the status of the fulfillments in the order and see if the line item is part of that fulfillment, see below for a example graphql query query MyQuery { order(id: "") { fulfillmentOrders(first: 10) { edges { node { status lineItems(first: 50) { edges { node { id productTitle } } } } } } } }
josephdyn
josephdynOP3w ago
Thank you! I will give that a try later today and see if I can make it work. Thank you so much for the insight @joeEv

Did you find this page helpful?