Order Sales Data: How to extract line detail

ElliotvD
Tourist
4 0 1

Hi there,

I'm looking to extract the line item detail per sales order, to show all the detail on each line within an order, such as Product_Id, Sales_Qty, Pricing, Fulfilment status etc.

I've located the  below 2 references and am looking for some general pointers on how to use these in order to retrieve the eventual detail for each sales line. I suppose my first point of clarification is the relationship between the entities involved, and which ones to call/iterate to achieve the desired result?

Any advice appreciated.

https://shopify.dev/api/examples/order-sales-data

https://shopify.dev/api/admin/graphql/reference/orders/productsale

 

0 Likes