One order with multiple transactions

LMBDan
New Member
1 0 1

Background:
We're creating an app to help with Shopify Bookkeeping.

Issue:
We have come across an issue whereby we are trying to separate the line items for a specific transaction because the corresponding order actually has two transactions not one.

Reason being that the order was edited after it was placed and an extra line item was added. This resulted in two transactions for the same one order.

Questions:
How can we work out which line items from the order API are for transaction 1 and which are from transaction 2?

We worked it out manually using the Order timeline section on the Store admin page but this "timeline" does not seem to be available through the API?

 

Thanks

 

Dan