Endpoint: https://
{base_url}/v1/sellers/{seller_id}/
Method: GET
Headers:
JWT {id_token}
application/json
Payload:
This method does not need any payload.
Response codes:
curl --location 'https://partners-sandbox-api.olist.com/v1/sellers/' \
--header 'Accept: application/json' \
--header 'Authorization: JWT {id_token}'
{
"count":1,
"next":null,
"previous":null,
"results":[
{
"cnpj":"12345678912345",
"company_name":"",
"cpf":"",
"email":"fake_seller@olist.com",
"id":"23da1das-fee1-40ea-9ed2-asdsa65146sd",
"mobile_phone":"",
"name":"Fake seller",
"phone":"",
"features": ["foo","bar"]
}
]
}
Endpoint: https://
{base_url}/v1/sellers/{seller_id}/
Method: GET
Headers:
JWT {id_token}
application/json
The URL must contain the following parameter:
seller_id
: Olist seller's identifier. This will return only the desired seller detail.Payload:
This method does not need any payload in the body.
Response codes:
curl --location 'https://partners-sandbox-api.olist.com/v1/sellers/{seller_id}/' \
--header 'Accept: application/json' \
--header 'Authorization: JWT {id_token}'
{
"cnpj":"12345678912345",
"company_name":"",
"cpf":"",
"email":"fake_seller@olist.com",
"id":"23da1das-fee1-40ea-9ed2-asdsa65146sd",
"mobile_phone":"",
"name":"Fake seller",
"phone":"",
"features": ["foo","bar"]
}