Product Tax Codes

Delete product tax code

Changed on

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

Additional validations

  • Fails with 422 if any item, including an archived item, uses the product tax code.
delete/public/v2/product-tax-codes/{product_tax_code_id}/

Request

  • Base URL: https://api.dualentry.com
  • URL: https://api.dualentry.com/public/v2/product-tax-codes/{product_tax_code_id}/
  • Auth: none declared

Path parameters

product_tax_code_idinteger required

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.

Response

OK

successtrue
errorsobject
messagestring nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status