UpdateTaxRateInput
Changes to a tax rate. Omitted fields stay as they are.
input UpdateTaxRateInput {
applicableProductCategories: [String!]
calculationMethod: TaxCalculationMethod
city: String
code: String
country: String
description: String
exemptProductCategories: [String!]
id: ID!
isActive: Boolean
isDefault: Boolean
jurisdiction: TaxJurisdiction
maximumAmount: Float
minimumAmount: Float
name: String
postalCode: String
rate: Float
state: String
type: TaxType
validFrom: DateTime
validTo: DateTime
}
Fields
UpdateTaxRateInput.applicableProductCategories ● [String!] list scalar
The product categories the tax applies to.
UpdateTaxRateInput.calculationMethod ● TaxCalculationMethod enum
How the tax is worked out against the price.
UpdateTaxRateInput.city ● String scalar
The city the tax applies in.
UpdateTaxRateInput.code ● String scalar
The code of the tax rate.
UpdateTaxRateInput.country ● String scalar
The country the tax applies in.
UpdateTaxRateInput.description ● String scalar
What the tax rate is for.
UpdateTaxRateInput.exemptProductCategories ● [String!] list scalar
The product categories the tax does not apply to.
UpdateTaxRateInput.id ● ID! non-null scalar
The ID of the tax rate to change.
UpdateTaxRateInput.isActive ● Boolean scalar
Whether the record is active.
UpdateTaxRateInput.isDefault ● Boolean scalar
Whether this is the default.
UpdateTaxRateInput.jurisdiction ● TaxJurisdiction enum
The level the tax applies at: federal, state, county, city or custom.
UpdateTaxRateInput.maximumAmount ● Float scalar
The largest amount the tax applies to.
UpdateTaxRateInput.minimumAmount ● Float scalar
The smallest amount the tax applies to.
UpdateTaxRateInput.name ● String scalar
The name of the tax rate.
UpdateTaxRateInput.postalCode ● String scalar
The postal code the tax applies in.
UpdateTaxRateInput.rate ● Float scalar
The rate, in percent.
UpdateTaxRateInput.state ● String scalar
The state or region the tax applies in.
UpdateTaxRateInput.type ● TaxType enum
The kind of tax.
UpdateTaxRateInput.validFrom ● DateTime scalar
When the tax starts to apply.
UpdateTaxRateInput.validTo ● DateTime scalar
When the tax stops applying.
Member Of
updateTaxRate mutation