Get retailer authentication token
This endpoint allows you to get a retailer authentication token. No need to be authenticated to use this endpoint.
Headers
-
Equal to 'application/json', no other value allowed
POST /api/oauth/v1/retailer/token
curl \
-X POST https://content.winkelstraat.nl/api/oauth/v1/retailer/token \
-H "Authorization: string" \
-H "Content-type: string"
Response examples (200)
Access token
"ZTZmYjU4ZmQxZWNmMzk1M2NlYzA5NmFhNmIzVjExMzE4NmJmODBkZGIyYTliYmQyNjk2ZDQwZThmNjdiZDQzOQ"
3600
"bearer"
null
"M2FlODI0OTE3ODMyNjViMzRiOWE5ODMyNWViMThkNDU5YzJjNjFiZjNkZWFjMzIyYjc4YTgzZWY1MjE5ZTY5Mw"
Response examples (200)
{
"access_token": "string",
"expires_in": 42,
"token_type": "string",
"scope": "string",
"refresh_token": "string"
}
Response examples (400)
Code
400
"Invalid JSON message received"
Response examples (400)
{
"code": 42,
"message": "string"
}
Response examples (415)
Code
415
"‘xxx’ in ‘Content-type’ header is not valid. Only ‘application/json’ is allowed."
Response examples (415)
{
"code": 42,
"message": "string"
}
Response examples (422)
Code
422
"Property \"labels\" expects an array as data, \"NULL\" given. Check the API reference documentation."
{
"documentation": {
"href": "http://api.akeneo.com/api-reference.html"
}
}
Response examples (422)
{
"code": 42,
"message": "string"
}