How can I distinguish between pick up and click and collect orders via order API?

AlexJayden
Shopify Partner
3 0 0

Hi I would like to know how I can distinguish if order is pick up order or click and collect order via order api.

 

 

Reply 1 (1)

jordanholmes
Shopify Expert
152 28 31

Hello,

 

You can use the 'delivery_method' field on the FulfillmentOrder api

 

FulfillmentOrder (shopify.dev)

 

Or if you just want to use the Order resource api then technically the shipping_address field would be empty for pick up orders - so you can guess from that

Jordan Holmes
Shopify Expert and Ruby on Rails Developer
Shopify Partner Directory