Skip to main content

taxCountryConfigurationUpdate Mutation

Updates tax class rates for a specific country.

Requires the MANAGE_TAXESpermission.
taxCountryConfigurationUpdate(
countryCode: CountryCode!
updateTaxClassRates: [TaxClassRateInput!]!
): TaxCountryConfigurationUpdate
Show return type

Arguments

countryCode ● CountryCode!

Country in which to update the tax class rates.

updateTaxClassRates ● [TaxClassRateInput!]!

List of tax rates per tax class to update. When {taxClass: id, rate: null} is passed, it deletes the rate object for given taxClass ID. When {rate: Int} is passed without a tax class, it updates the default tax class for this country.

Type

TaxCountryConfigurationUpdate

Updates tax class rates for a specific country.

Requires the MANAGE_TAXESpermission.