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.

definition of closed_at column in Order?

definition of closed_at column in Order?

retina-dev
Shopify Partner
4 0 0

How is this column defined when a customer places an order? I am looking at a shop's order history; many order_ids have null values in "closed_at" column, while these orders are fulfilled (delivered to the shipping address) months ago. Tried to search for an answer but in vain, so any help or documentation will be greatly appreciated, thanks!   

 

https://shopify.dev/api/admin-rest/2022-10/resources/order

Reply 1 (1)

Jonathan-HA
Shopify Partner
334 25 105

"Closed" is the same as "Archived".

 

So when you archive an order, the closed_at field will be the timestamp of when that occurred.

 

There's a setting in the Shopify Admin > Settings > Checkout and accounts to automatically archive the order after fulfillment.

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill