Skip to main content
POST
/
customers
Criar um Cliente
curl --request POST \
  --url https://homolog.clubfix.com.br/webservice/customers \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Sergio Danilo Jr",
  "document": "05506426500",
  "phone": "32863751018",
  "email": "[email protected]",
  "password": "#Pessoa@302043",
  "address": {
    "street": "Rua Natal Bertoldo da Silva",
    "city": "Aparecida de Goiânia",
    "state": "GO",
    "zipcode": "74988670",
    "number": "976"
  }
}
'
{
  "id": 12,
  "name": "Emanuelly Carolina Carolina Teixeira",
  "document": "80615114105",
  "phone": "32863751018",
  "email": "[email protected]",
  "address": {
    "street": "Rua Natal Bertoldo da Silva",
    "number": 976,
    "complement": null,
    "zipcode": "74988670",
    "neighborhood": "Nova Olinda",
    "city": "Aparecida de Goiânia",
    "state": "GO"
  }
}
Authorization
string
required
Token de autenticação do tipo Bearer obtido através do endpoint de login.

Authorizations

Authorization
string
header
required

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

Headers

Accept
string
required

Body

application/json
name
string
document
string
phone
string
email
string
password
string
address
object

Response

Customer stored example

id
integer
name
string
document
string
phone
string
email
string
address
object