Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Clarify that identifier is needed as taxAppId (#15596)
Krzysztof Waliczekdbca7e95745b
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 21bb65426e..1033af1bf9 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -9823,7 +9823,7 @@ type TaxConfiguration implements Node & ObjectWithMetadata @doc(category: "Taxescountries: [TaxConfigurationPerCountry!]!"""- The tax app id that will be used to calculate the taxes for the given channel. Empty value for `TAX_APP` set as `taxCalculationStrategy` means that Saleor will iterate over all installed tax apps. If multiple tax apps exist with provided tax app id use the `App` with newest `created` date. Will become mandatory in 4.0 for `TAX_APP` `taxCalculationStrategy`.+ The tax app `App.identifier` that will be used to calculate the taxes for the given channel. Empty value for `TAX_APP` set as `taxCalculationStrategy` means that Saleor will iterate over all installed tax apps. If multiple tax apps exist with provided tax app id use the `App` with newest `created` date. Will become mandatory in 4.0 for `TAX_APP` `taxCalculationStrategy`.Added in Saleor 3.19."""@@ -9858,7 +9858,7 @@ type TaxConfigurationPerCountry @doc(category: "Taxes") {displayGrossPrices: Boolean!"""- The tax app id that will be used to calculate the taxes for the given channel and country. If not provided, use the value from the channel's tax configuration.+ The tax app `App.identifier` that will be used to calculate the taxes for the given channel and country. If not provided, use the value from the channel's tax configuration.Added in Saleor 3.19."""@@ -20881,7 +20881,7 @@ input TaxConfigurationUpdateInput @doc(category: "Taxes") {removeCountriesConfiguration: [CountryCode!]"""- The tax app id that will be used to calculate the taxes for the given channel. Empty value for `TAX_APP` set as `taxCalculationStrategy` means that Saleor will iterate over all installed tax apps. If multiple tax apps exist with provided tax app id use the `App` with newest `created` date. It's possible to set plugin by using prefix `plugin:` with `PLUGIN_ID` e.g. with Avalara `plugin:mirumee.taxes.avalara`.Will become mandatory in 4.0 for `TAX_APP` `taxCalculationStrategy`.+ The tax app `App.identifier` that will be used to calculate the taxes for the given channel. Empty value for `TAX_APP` set as `taxCalculationStrategy` means that Saleor will iterate over all installed tax apps. If multiple tax apps exist with provided tax app id use the `App` with newest `created` date. It's possible to set plugin by using prefix `plugin:` with `PLUGIN_ID` e.g. with Avalara `plugin:mirumee.taxes.avalara`.Will become mandatory in 4.0 for `TAX_APP` `taxCalculationStrategy`.Added in Saleor 3.19."""@@ -20906,7 +20906,7 @@ input TaxConfigurationPerCountryInput @doc(category: "Taxes") {displayGrossPrices: Boolean!"""- The tax app identifier that will be used to calculate the taxes for the given channel and country. If not provided, use the value from the channel's tax configuration.+ The tax app `App.identifier` that will be used to calculate the taxes for the given channel and country. If not provided, use the value from the channel's tax configuration.Added in Saleor 3.19."""diff --git a/saleor/graphql/tax/mutations/tax_configuration_update.py b/saleor/graphql/tax/mutations/tax_configuration_update.pyindex 489e79f98c..8feed0894c 100644--- a/saleor/graphql/tax/mutations/tax_configuration_update.py+++ b/saleor/graphql/tax/mutations/tax_configuration_update.py@@ -47,7 +47,7 @@ class TaxConfigurationPerCountryInput(BaseInputObjectType):)tax_app_id = graphene.String(description=(- "The tax app identifier that will be used to calculate the taxes for the "+ "The tax app `App.identifier` that will be used to calculate the taxes for the ""given channel and country. If not provided, use the value from the channel's ""tax configuration." + ADDED_IN_319),@@ -90,7 +90,7 @@ class TaxConfigurationUpdateInput(BaseInputObjectType):)tax_app_id = graphene.String(description=(- "The tax app id that will be used to calculate the taxes for the given channel. "+ "The tax app `App.identifier` that will be used to calculate the taxes for the given channel. ""Empty value for `TAX_APP` set as `taxCalculationStrategy` means that Saleor will ""iterate over all installed tax apps. If multiple tax apps exist with provided ""tax app id use the `App` with newest `created` date. It's possible to set plugin "diff --git a/saleor/graphql/tax/types.py b/saleor/graphql/tax/types.pyindex 057b91405b..a7230699d3 100644--- a/saleor/graphql/tax/types.py+++ b/saleor/graphql/tax/types.py@@ -52,7 +52,7 @@ class TaxConfiguration(ModelObjectType[models.TaxConfiguration]):)tax_app_id = graphene.String(description=(- "The tax app id that will be used to calculate the taxes for the given channel. "+ "The tax app `App.identifier` that will be used to calculate the taxes for the given channel. ""Empty value for `TAX_APP` set as `taxCalculationStrategy` means that Saleor will ""iterate over all installed tax apps. If multiple tax apps exist with provided ""tax app id use the `App` with newest `created` date. "@@ -111,7 +111,7 @@ class TaxConfigurationPerCountry(ModelObjectType[models.TaxConfigurationPerCount)tax_app_id = graphene.String(description=(- "The tax app id that will be used to calculate the taxes for the given channel "+ "The tax app `App.identifier` that will be used to calculate the taxes for the given channel ""and country. If not provided, use the value from the channel's tax configuration."+ ADDED_IN_319),