Skip to content

Create Tax Rate

Creates a new tax rate. The identifier must be unique, country is a two-letter ISO code, and taxRate is a percentage between 0 and 100.

Operation

OperationTypePurpose
createAdminSettingsTaxRate(input:)MutationCreate a tax rate

Conditional zip rules

The zip fields you must supply depend on isZip:

isZipRequired zip fieldsTargets
falsezipCodeA single zip code
truezipFrom and zipToA zip-code range

Supplying isZip: true without zipFrom/zipTo, or isZip: false without zipCode, is rejected with a validation error.

Released under the MIT License.