Getting the shipping amount using orders api

Topic summary

A developer is experiencing discrepancies when calculating shipping amounts using Shopify’s Orders API (admin/api/2024-04/orders.json).

The Issue:

  • They’re currently summing the total_shipping_price_set field for all orders in a day
  • The calculated shipping total doesn’t match what appears in the Shopify admin panel

Question:

  • Seeking alternative methods or correct approaches to accurately calculate daily shipping amounts that align with Shopify’s dashboard figures

The discussion remains open with no responses or solutions provided yet.

Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

Hi , I am using orders api “admin/api/2024-04/orders.json” to calculate the gross amount , taxes , shipping amount - shipping amount is not matching the shopify panel numbers i am calculating shipping by adding

“total_shipping_price_set” for all the orders of the day. Is there any other way of calculating the shipping value for the day.