POST
/
{alias}
/
customers
curl --request POST \
  --url https://api.dooki.com.br/v2/{alias}/customers \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "marketplace_id": 123,
  "cluster_id": 123,
  "active": true,
  "type": "f",
  "name": "<string>",
  "razao_social": "<string>",
  "cpf": "<string>",
  "cnpj": "<string>",
  "email": "<string>",
  "password": "<string>",
  "password_confirmation": "<string>",
  "homephone": "<string>",
  "ip": "<string>",
  "utm_source": "<string>",
  "utm_campaign": "<string>",
  "notes": "<string>"
}'
"<any>"

Authorizations

User-Token
string
header
required
User-Secret-Key
string
header
required

Path Parameters

alias
string
required

Alias da loja

Body

application/json

Representa os dados necessários para criar ou atualizar um cliente

Response

200
application/json

Cliente criado com sucesso

The response is of type any.