Skip to content

Update Tax Rate ​

Updates an existing tax rate. The update is partial — send only the fields you want to change; omitted fields keep their current value. identifier stays unique, and a changed taxRate must remain between 0 and 100.

Operation ​

OperationTypePurpose
updateAdminSettingsTaxRate(input:)MutationUpdate a tax rate

Conditional zip rules ​

The same zip rules as create are re-checked after the change is merged onto the existing rate:

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

If you flip isZip you must also supply the matching zip field(s) in the same request, otherwise the update is rejected with a validation error.

Notes ​

  • id is the IRI form (/api/admin/settings/tax-rates/{id}). Discover valid ids with the adminSettingsTaxRates query.

Released under the MIT License.