Product Tax Codes

Create product tax code

Create an organization-scoped product tax code. Global product tax codes are system managed.

post/public/v2/product-tax-codes/

Headers

Idempotency-Keystring

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Request body

codestring required
descriptionstring required
source'INTERNAL' | 'AVALARA'

Response

Created

created_atstring date-time required

Date and time the record was created

updated_atstring date-time required

Date and time the record was last updated

idinteger required
codestring required
descriptionstring required
source'INTERNAL' | 'AVALARA' required
is_activeboolean required
is_globalboolean required

Changes

Changed in 2 of the 14 revisions of this API.3

    • added the required property created_at to the response with the 201 status

      response-required-property-added

    • added the required property updated_at to the response with the 201 status

      response-required-property-added

    This revision also has 93 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional header request parameter Idempotency-Key

      new-optional-request-parameter