API total price different from actual total price

Topic summary

Users are reporting discrepancies between order totals shown in the Shopify Admin Console versus values returned by the API, with differences of $0.01.

Specific Issues:

  • One user sees $135.76 in admin/payouts but $135.77 via API
  • Another user creates an order via REST API with line item price $3.183 × quantity 10 = $31.83, but Shopify displays $31.80

Root Cause Identified:
The API appears to round prices before performing total calculations, while the admin console calculates totals first then rounds. This creates mismatches between systems.

Impact:
Orders in Shopify don’t match orders in originating systems, causing reconciliation problems.

Status:
Users suspect this is a Shopify system issue requiring team attention. The discussion includes screenshots demonstrating the discrepancies in both API responses and Admin Console views.

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

Ran into a strange issue today. In the admin orders console as well as the payout included the actual total of $135.76 but in the API, it reports $135.77. Is this a bug? I’m guessing there’s a rounding issue in the APIs currency conversion logic that’s different from the rest of the Shopify system.

Admin Orders Console:

API Response:

Thoughts?

Experiencing something similar. Using the REST Api - I create an order and use a price of $3.183 for a line item. Quantity is 10. $3.183 * 10 = $31.83. Shopify displays it as $31.80. The Api is rounding the price before it does the total calculation. Thus my orders in Shopify dont match orders in the originating system. This is an issue Shopify team!