We are using order API(https://shopify.dev/docs/admin-api/rest/reference/orders/order) in our custom integration to get the order details.
Issue:
We are having issue with the gift card flow. When the customer applies the gift card the total amount on cart get decreased but when we hit order API to fetch the amount it’s giving us the final amount.
for ex
final price was $100
gift card applied for $10
new final price $90.
But when we hit your order API, the value of total_price is still $100. Which is creating an issue on our end.
If we use the discount voucher, it works as expected.
As per the API doc total_price is The sum of all line item prices, discounts, shipping, taxes, and tips in the shop currency.