POST
/
customers
curl --request POST \
  --url https://api.antei.com/customers \
  --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 create a new customer with necessary attributes such as name, tax ID, country, and optional metadata fields.

Make sure to pass a valid payload in the request body. On success, the created customer object is returned.

Authorizations

Authorization
string
header
required

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

Body

application/json

Customer payload

The body is of type object.

Response

201
application/json

Customer created successfully

The response is of type object.