Timestamp in Order Line Item Object

sambhavjain3
Visitor
1 0 1

Hi,

 

I am working on an integration to get the data from shopify objects into my platform.

Issue is when we fetch data from order_line_items, there is no timestamp in it like create date or update date.

Hence, its not possible to get the delta from the order_line_items object. How can we add timestamp in to order_line_items object.

 

Any help would be appreciated.

 

Thanks

Sambhav

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1357 224 473

Hi sambhavjain3,

 

Currently there are not any timestamps specifically related to line items on orders, the closest are the updated_at and created_at times on the order itself. 

 

If knowing when a line item changes is important the only thing that comes to mind is to register for the [orders_edited] webhook, as generally once an order is finalized a line item can only be changed if the order is edited.

 

Hope you have a great day

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog