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
taxedPricePortions
field to CustomLineItem. - [API] Added the
shippingKey
field to Set CustomLineItem TaxAmount and Set CustomLineItem TaxRate update actions on Carts. - [API] Added the
shippingKey
field to Set CustomLineItem TaxAmount and Set CustomLineItem TaxRate update actions on Order Edits. - [GraphQL API] Changed the
CustomLineItem
type:- Added the
taxedPricePortions
field to theCustomLineItem
type.
- Added the
- [GraphQL API] Changed the
SetCartCustomLineItemTaxAmount
type:- Added the
shippingKey
field to theSetCartCustomLineItemTaxAmount
type.
- Added the
- [GraphQL API] Changed the
SetCartCustomLineItemTaxRate
type:- Added the
shippingKey
field to theSetCartCustomLineItemTaxRate
type.
- Added the
- [GraphQL API] Changed the
SetStagedOrderCustomLineItemTaxAmount
type:- Added the
shippingKey
field to theSetStagedOrderCustomLineItemTaxAmount
type.
- Added the
- [GraphQL API] Changed the
SetStagedOrderCustomLineItemTaxRate
type:- Added the
shippingKey
field to theSetStagedOrderCustomLineItemTaxRate
type.
- 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
}