Skip to main content
PATCH
/
customers
/
{id}
Update Customer
curl --request PATCH \
  --url https://api.antei.com/customers/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "<string>",
  "tax_id": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "tax_id": "<string>"
}
Use this endpoint to update a customer’s metadata, address, or other attributes. Note: Certain fields like tax ID may require creating a new version depending on your audit policy.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Updated customer data

name
string
required
email
string
required
tax_id
string

Response

200 - application/json

Customer updated

id
string
required

Unique identifier for the customer

name
string
required

Name of the customer

email
string
required

Email address of the customer

tax_id
string

Tax ID associated with the customer