cURL
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" }
Token from partner authetnication
3
"Arthur Antunes Coimbra"
"77858747002"
Customer registered successfully