POST Create Tax Exemption Certificate

​

Creates the account's tax exemption certificate. It starts at status 1, not yet submitted — upload the supporting document next, which moves it to awaiting review.

There is one certificate per account. A second create always fails, so read the certificate first and use PUT to change it.

status cannot be set by the client; only the brand can approve, reject or revoke.

Path Parameters

  • Customer account ID. Must match the signed-in customer.

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Content-Type header

  • Version of the API to be used

  • Authorization header

  • Unique request identifier

Body

required
application/json
  • Date the certificate expires. An expired certificate does not exempt an order.

  • Two-letter state code. Must match the venue's state for the exemption to apply there.

Responses

  • application/json
  • The account already has a tax exemption certificate.

  • Missing or invalid token, or the path account is not the signed-in account.

  • tax_id is missing, or issuing_state is not a known state code.

Request Example for post/customer-accounts/{customer_account_id}/tax-exemption-certificate
curl https://api-public-demo.menu.app/api/customer-accounts/9031/tax-exemption-certificate \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'Content-Type: application/json' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
  --data '{
  "tax_id": "12-3456789",
  "issuing_state": "NY",
  "expires_at": "2027-01-31"
}'
{
  "status": "OK",
  "code": 200,
  "data": {
    "tax_exemption_certificate": {
      "id": 12,
      "tax_id": "12-3456789",
      "issuing_state": "NY",
      "status": 1,
      "status_reason": "",
      "expires_at": "2027-01-31",
      "file": null
    }
  }
}