All Release Notes
Introduced 'key' field on TaxRate
4 April 2023
Composable Commerce
HTTP API
Enhancement
Pricing and DiscountsGraphQL
We introduced the key
field on TaxRate and TaxRateDraft. This ensures a consistent experience when working with external identifiers across different entity types in Composable Commerce.
Changes:
- [API] Added the
key
field to TaxRate and TaxRateDraft. - [API] Added the
taxRateKey
field to Remove TaxRate and Replace TaxRate update actions. - [API] Changed the
taxRateId
field to be optional on Remove TaxRate and Replace TaxRate update actions. - [GraphQL API] Changed the
TaxRate
type:- Added the
key
field to theTaxRate
type.
- Added the
- [GraphQL API] Changed the
TaxRateInput
type:- Input field
key
was added toTaxRateInput
type
- Input field
- [GraphQL API] Changed the
TaxRateDraft
type:- Input field
key
was added toTaxRateDraft
type
- Input field
- [GraphQL API] Changed the
TaxCategoryRemoveTaxRate
type:- Input field
taxRateKey
was added toTaxCategoryRemoveTaxRate
type TaxCategoryRemoveTaxRate.taxRateId
input field type changed fromString!
toString
- Input field
- [GraphQL API] Changed the
TaxCategoryReplaceTaxRate
type:TaxCategoryReplaceTaxRate.taxRateId
input field type changed fromString!
toString
- Input field
taxRateKey
was added toTaxCategoryReplaceTaxRate
type
The following changes were introduced in terms of GraphQL SDL:
extend type TaxRate {key: String}extend input TaxCategoryRemoveTaxRate {taxRateKey: String}extend input TaxRateInput {key: String}extend input TaxRateDraft {key: String}extend input TaxCategoryReplaceTaxRate {taxRateKey: String}