We have added support for external tax rates and tax amounts on multiple Shipping Methods. You can now target individual Shipping Methods by including a shippingKey
when using the Set ShippingMethod TaxAmount and Set ShippingMethod TaxRate update actions for Carts and Order Edits.
Changes:
-
[API] Added the
shippingKey
field to the following update actions on Carts: -
[API] Added the
shippingKey
field to the following update actions on Order Edits: -
[GraphQL API] Changed the
SetStagedOrderShippingMethodTaxRateOutput
type:- Added the
shippingKey
field to theSetStagedOrderShippingMethodTaxRateOutput
type.
- Added the
-
[GraphQL API] Changed the
SetStagedOrderShippingMethodTaxAmount
type:- Input field
shippingKey
was added toSetStagedOrderShippingMethodTaxAmount
type
- Input field
-
[GraphQL API] Changed the
SetCartShippingMethodTaxRate
type:- Input field
shippingKey
was added toSetCartShippingMethodTaxRate
type
- Input field
-
[GraphQL API] Changed the
SetStagedOrderShippingMethodTaxRate
type:- Input field
shippingKey
was added toSetStagedOrderShippingMethodTaxRate
type
- Input field
-
[GraphQL API] Changed the
SetCartShippingMethodTaxAmount
type:- Input field
shippingKey
was added toSetCartShippingMethodTaxAmount
type
- Input field
-
[GraphQL API] Changed the
SetStagedOrderShippingMethodTaxAmountOutput
type:- Added the
shippingKey
field to theSetStagedOrderShippingMethodTaxAmountOutput
type.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type SetStagedOrderShippingMethodTaxRateOutput {
shippingKey: String
}
extend type SetStagedOrderShippingMethodTaxAmountOutput {
shippingKey: String
}
extend input SetStagedOrderShippingMethodTaxAmount {
shippingKey: String
}
extend input SetCartShippingMethodTaxRate {
shippingKey: String
}
extend input SetStagedOrderShippingMethodTaxRate {
shippingKey: String
}
extend input SetCartShippingMethodTaxAmount {
shippingKey: String
}