API
Skip to main content

Create customer

Recomenda-se a utilização do parâmetro customerId para evitar registos duplicados.

Creation of a customer with the following data:

  • Customer identifier: 1
  • First name: José
  • Last name:: Silva
  • Email: jose.silva@email.com
  • Phone number: 351#961234567

POST /customers

{
"customerId": "1",
"firstName": "José",
"lastName": "Silva",
"email": "jose.silva@email.com",
"phoneNumber": "351#123456789"
}

When the customer is successfully created, a unique identifier (uuid) is generated that identifies the customer to the API.