PUT Update Tax Exemption Certificate
Updates the certificate's tax id, issuing state or expiry.
tax_id is required on every call — this is a replace, not a patch.
If the certificate had already been reviewed, editing it sends it back to awaiting review (status 2), so the customer will need it approved again.
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
required
application/json
- Type: stringtax
_id max length:255required - Type: string | nullexpires
_at - Type: string | nullissuing
_state max length:50
Responses
- application/json
- 400
The requested status change is not allowed.
- 401
Missing or invalid token, or the path account is not the signed-in account.
- 404
The account has no tax exemption certificate yet.
- 422
Validation failed.
Request Example for put/customer-accounts/{customer_account_id}/tax-exemption-certificate
curl https://api-public-demo.menu.app/api/customer-accounts/9031/tax-exemption-certificate \
--request PUT \
--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": "98-7654321",
"issuing_state": "IL",
"expires_at": "2028-06-30"
}'
{
"status": "OK",
"code": 200,
"data": {
"tax_exemption_certificate": {
"id": 12,
"tax_id": "98-7654321",
"issuing_state": "IL",
"status": 2,
"expires_at": "2028-06-30"
}
}
}