All Release Notes
Added total tax to Carts, Orders, and Line Items
8 April 2022
Composable Commerce
HTTP API
Enhancement
CartsOrdersGraphQL
The total tax amount on Cart, Order, LineItem, CustomLineItem, and ShippingInfo. Before, your application had to calculate that amount if you wanted to display it to your customers.
Changes:
- [API] Added optional
totalTax
field to TaxedPrice and TaxedItemPrice. - [GraphQL API] Changed the
TaxedPrice
type:- Added the
totalTax
field to theTaxedPrice
type. - Added the
totalTax
field to theTaxedItemPrice
type.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type TaxedPrice {totalTax: Money}extend type TaxedItemPrice {totalTax: Money}