We noticed a change in order created via API. If the order total, tax, prices in line items did not used to match then making any update in the order used to correct the total based on the subtotal, tax discount shipping fee etc.
But recently we noticed the total_price field is not considered and shiphero is assigning the order amount based on the information provided in line items and other fields .
is this correct or i am misunderstanding something.
Hello Saif,
You are correct yes. The Totals on the order are taken from the Sum of line items’ ammounts.
as far as i recall, it was not like this before.. is this changed done recently?
Not as far as i can see.
I will keep digging into our changes but currently that is the functionality