Skip to main content
POST
/
partners
/
authenticate
Authenticate a partner account
curl --request POST \
  --url https://api.market.iventou.com.br/partners/authenticate \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "password": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "Tester company",
  "email": "[email protected]",
  "cnpj": "86212836000175",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIEpXVCIsImlhdCI6MTUxNjIzOTAyMn0.GhxqiqpY556Orjv5XJRouziYBgYDTqEgiXrYL0m8HNs"
}

Body

application/json
id
string<uuid>
required
password
string<password>
required
Minimum length: 3

Response

200 - application/json

Partner authenticated successfully

id
string<uuid>
required
name
string
required
Minimum length: 3
Example:

"Tester company"

email
string<email>
required
cnpj
string
required
Example:

"86212836000175"

token
string<jwt>
required
Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIEpXVCIsImlhdCI6MTUxNjIzOTAyMn0.GhxqiqpY556Orjv5XJRouziYBgYDTqEgiXrYL0m8HNs"