4 August 2023
CartsOrdersGraphQL
We introduced the
taxedPricePortions field on CustomLineItem to add additional support for Carts containing multiple Shipping Methods.Changes:
- [API] Added the
taxedPricePortionsfield to CustomLineItem. - [API] Added the
shippingKeyfield to Set CustomLineItem TaxAmount and Set CustomLineItem TaxRate update actions on Carts. - [API] Added the
shippingKeyfield to Set CustomLineItem TaxAmount and Set CustomLineItem TaxRate update actions on Order Edits. - [GraphQL API] Changed the
CustomLineItemtype:- Added the
taxedPricePortionsfield to theCustomLineItemtype.
- Added the
- [GraphQL API] Changed the
SetCartCustomLineItemTaxAmounttype:- Added the
shippingKeyfield to theSetCartCustomLineItemTaxAmounttype.
- Added the
- [GraphQL API] Changed the
SetCartCustomLineItemTaxRatetype:- Added the
shippingKeyfield to theSetCartCustomLineItemTaxRatetype.
- Added the
- [GraphQL API] Changed the
SetStagedOrderCustomLineItemTaxAmounttype:- Added the
shippingKeyfield to theSetStagedOrderCustomLineItemTaxAmounttype.
- Added the
- [GraphQL API] Changed the
SetStagedOrderCustomLineItemTaxRatetype:- Added the
shippingKeyfield to theSetStagedOrderCustomLineItemTaxRatetype.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type CustomLineItem {
taxedPricePortions: [MethodTaxedPrice!]!
}
extend input SetCartCustomLineItemTaxAmount {
shippingKey: String
}
extend input SetCartCustomLineItemTaxRate {
shippingKey: String
}
extend input SetStagedOrderCustomLineItemTaxAmount {
shippingKey: String
}
type SetStagedOrderCustomLineItemTaxAmountOutput implements StagedOrderUpdateActionOutput {
type: String!
shippingKey: String
}
extend input SetStagedOrderCustomLineItemTaxRate {
shippingKey: String
}
type SetStagedOrderCustomLineItemTaxRateOutput implements StagedOrderUpdateActionOutput {
type: String!
shippingKey: String
}