POST
/
customers
curl --request POST \
  --url https://prod.api.palomma.com/v1/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "documentType": "cc",
  "documentNumber": "<string>",
  "email": "<string>"
}'
{
  "id": "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  "name": "Pepito Perez",
  "documentType": "cc",
  "documentNumber": "200220422",
  "email": "pepito@perez.com",
  "createdAt": "2023-10-26T21:28:34.152Z",
  "updatedAt": "2023-10-26T21:28:34.152Z"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

Customer created successfully.

The response is of type object.