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

Clay_Impress
Tourist
3 0 0

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
1829 269 406

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
3 0 0

`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?