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
keyfield to TaxRate and TaxRateDraft. - [API] Added the
taxRateKeyfield to Remove TaxRate and Replace TaxRate update actions. - [API] Changed the
taxRateIdfield to be optional on Remove TaxRate and Replace TaxRate update actions. - [GraphQL API] Changed the
TaxRatetype:- Added the
keyfield to theTaxRatetype.
- Added the
- [GraphQL API] Changed the
TaxRateInputtype:- Input field
keywas added toTaxRateInputtype
- Input field
- [GraphQL API] Changed the
TaxRateDrafttype:- Input field
keywas added toTaxRateDrafttype
- Input field
- [GraphQL API] Changed the
TaxCategoryRemoveTaxRatetype:- Input field
taxRateKeywas added toTaxCategoryRemoveTaxRatetype TaxCategoryRemoveTaxRate.taxRateIdinput field type changed fromString!toString
- Input field
- [GraphQL API] Changed the
TaxCategoryReplaceTaxRatetype:TaxCategoryReplaceTaxRate.taxRateIdinput field type changed fromString!toString- Input field
taxRateKeywas added toTaxCategoryReplaceTaxRatetype
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}