What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

How to get "ready for pickup" status for an order using GraphQL admin API

How to get "ready for pickup" status for an order using GraphQL admin API

Clay_Impress
Tourist
9 1 2

Clay_Impress_0-1708797858010.png

Which property of an order indicates this "Ready for pickup" status? I expected it to be a displayFulfillmentStatus enum value, but no:

 

"order": {
"name": "#21071",
"displayFulfillmentStatus": "UNFULFILLED"
}

 

Replies 2 (2)

SBD_
Shopify Staff
1831 273 421

Hey @Clay_Impress 

 

It's not directly listed as an attribute but I think you can infer it.

 

Here's how a fulfillment order looks before being marked as ready for pickup. And here's how it looks after being marked as ready for pickup.

 

If you look for `status`: open and `delivery_method.method_type`: pickup, it should indicate an order is ready for pickup. Test this thoroughly, there could be some edge cases I'm not considering.

Scott | Developer Advocate @ Shopify 

Clay_Impress
Tourist
9 1 2

`status`: open and `delivery_method.method_type`: pickup identifies pick-up orders but does not distinguish between unfulfilled pick-up orders and "ready for pickup" orders. displayFulfillmentStatus is "UNFULFILLED" for both. Is there another field that can distinguish between these states?