How can I check an order's delivery status in Liquid?

connerm
Visitor
1 0 2

Hi,

 

On my theme I have 3 sections:

 

- Active Orders

- Past Orders

- Cancelled Orders

 

I need to check if an order has been fulfilled but not delivered. We're using USPS for shipping and we placed a test order and can see the "Delivered" status on the status page and admin but doesn't seem like anything inside Liquid object available for this?

 

My next idea is to use a update webhook and check if shipment_status is "delivered" then use the Shopify Admin API to set as "Delivered" if that's possible?

 

Any pointers/ideas would be greatly appreciated.

 

Thanks!

Reply 1 (1)

nadeemrz
Shopify Partner
8 0 0

Did you get any approach for this?