Publish a new tax table
POST/tax-tables
PublishTaxTable. Basis-point rates by destination postal-prefix band; bands never overlap. The new version supersedes the current one and TaxTableChanged is published.
Request
Responses
- 201
- 400
- 409
- 422
The published tax table.
Response Headers
"true" when this response is the stored answer of an earlier request carrying the same Idempotency-Key (the handler did not run again). Absent on the first execution.
idempotency-key-required (header missing), idempotency-key-invalid (not 1-128 printable ASCII characters) or malformed-request (bad JSON, an unknown field, a wrong type, an empty body, trailing data, a body over 64 KiB or a NUL character in the body or query string).
non-increasing-version (ErrNonIncreasingVersion), concurrent-update or idempotency-key-reused.
validation-failed, overlapping-tax-band (ErrOverlappingTaxBand) or rate-out-of-range (ErrRateOutOfRange).