PATCH
/
customers
/
{id}
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

The body is of type object.

Response

200 - application/json

Customer updated

The response is of type object.