Web Pixels: `subtotalPrice.amount` value change on the new `/thank-you` page

The subtotalPrice.amount value in the Web Pixels API has been updated on the new /thank-you page. Previously, this value included the sum of all line item prices and product-level discounts. Now, subtotalPrice.amount reflects the sum of all line item prices after applying both product and order-level discounts. This update aligns the definition with the subtotalPrice.amount field on the legacy /thank_you page.

Back to blog