Sandbox Account


Creating your sandbox account

On sandbox environment, you can create the account by yourself. To do that, you should call the endpoint partners / create, in our collection. Below we have an CURL example:

CURL:

curl --location 'https://partners-sandbox-api.olist.com/v1/partners/' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
  "name": "Fake name",
  "client_id": "fake_name",
  "password": "123456",
  "redirect_uris": [
    "http://localhost:8001/event"
  ],
  "notification_webhook": "http://localhost:8001/event"
}'

Response:

{
    "name": "Fake name",
    "client_id": "fake_name",
    "email": "fake_name@partners-sandbox-api.olist.com",
    "redirect_uris": [
        "http://localhost:8001/event"
    ],
    "notification_webhook": "http://localhost:8001/event",
    "client_secret": "ABC123def456"
}

With you account created, save your client_id, client_secret, email and password in a safeplace.


What's Next

OAuth2 and Token