Tax rates
Create a tax rate
Needs the catalog:write scope, or a full-access key. About scopes
POST
/
api/v1/tax-ratesAuthorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalnameRequiredstring
Minimum length:
1Maximum length: 100inclusiveboolean | null
activeboolean
tax_id_labelstring | null
Maximum length:
50descriptionstring | null
Maximum length:
500countryRequiredstring
Pattern:
"^[A-Za-z]{2}$"regionstring | null
Minimum length:
1Maximum length: 100percentageRequiredAny properties in string, number
Percent, up to 4 decimals (e.g. "8.875").
Header Parameters
Idempotency-Keystring
A unique value for this operation, chosen by you. A retry with the same key and the same body returns the first response instead of running again. The same key with a different body answers 409 idempotency_key_reused; a key whose first request is still running answers 409 idempotency_in_progress.
The rate.