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
- Type: integercustomer
_account _id requiredCustomer account ID. Must match the signed-in customer.
Headers
- Type: stringAcceptrequired
Type of content accepted by the API (application/json in most cases)
- Type: stringApplicationrequired
Application key for specific client app
- Type: stringContent
- Type requiredContent-Type header
- Type: stringA
P I - V E R S I O N requiredVersion of the API to be used
- Type: stringAuthorization
Authorization header
- Type: stringX
- Request - I D requiredUnique request identifier
Body
- Type: stringtax
_id max length:255required - Type: string | nullexpires
_at Date the certificate expires. An expired certificate does not exempt an order.
- Type: string | nullissuing
_state max length:50Two-letter state code. Must match the venue's state for the exemption to apply there.
Responses
- application/json
- 400
The account already has a tax exemption certificate.
- 401
Missing or invalid token, or the path account is not the signed-in account.
- 422
tax_idis missing, orissuing_stateis not a known state code.
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
}
}
}