Skip to main content
POST
/
customers
Register a customer
curl --request POST \
  --url https://api.market.iventou.com.br/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Arthur Antunes Coimbra",
  "cpf": "77858747002",
  "birthdate": "2023-12-25",
  "email": "[email protected]"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Token from partner authetnication

Body

application/json
name
string
required
Minimum length: 3
Example:

"Arthur Antunes Coimbra"

cpf
string<cpf>
Example:

"77858747002"

birthdate
string<date>
email
string<email>

Response

201 - application/json

Customer registered successfully

id
string<uuid>
required