POST
/
api
/
clientes
Criar cliente
curl --request POST \
  --url https://suite.sisqualis.com.br/api/clientes/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nome": "<string>",
  "email": "jsmith@example.com",
  "telefone": "<string>",
  "documento": "<string>",
  "ativo": true
}
'
{
  "id": 123,
  "nome": "<string>",
  "email": "jsmith@example.com",
  "telefone": "<string>",
  "documento": "<string>",
  "ativo": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Use: Token <seu_token>

Body

application/json
nome
string
required
email
string<email>
telefone
string
documento
string
ativo
boolean

Response

201 - application/json

Cliente criado

id
integer
nome
string
email
string<email>
telefone
string
documento
string
ativo
boolean
created_at
string<date-time>
updated_at
string<date-time>