GET /shops/@shop/categories/@id
You can use authentication for this request, but it is not required. Always provide the access_token when you have one. It may affect the response.
Header | Value |
---|---|
Authorization | Optional. Set the value to Bearer + + access_token |
Replace the @ keywords in the URL with their corresponding value.
A dictionary with fields
Field | Type | Description |
---|---|---|
shop | Int | An integer value |
id | Int | An integer value |
GET /shops/13/categories/16 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.1
Accept-Language: en-US,en;q=0.5
Field | Type | Description |
---|---|---|
id | Int | Id of the category |
name | String | Translated category name |
banner | Image? | Nullable. |
messages | [String] | Array of String |
products | [Product.detailed] | Array of Product.detailed |
seo | company.SeoData | Optional. Product page SEO metatags |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 59027
{
"id": 10,
"name": "Jeanie Terry",
"banner": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"messages": [
"...",
"...",
"..."
],
"products": [
{
"id": 11,
"name": "...",
"images": [
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
}
],
"price_type": "PER_UNIT",
"target_price": false,
"price": {
"value": 11,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 16,
"name": "Crustaceans"
},
{
"id": 12,
"name": "Lupine"
},
{
"id": 12,
"name": "Milk"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": false,
"favourite": false,
"product_prices": [
{
"id": 13,
"name": "...",
"price": {
"value": 10,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 12,
"y": 16,
"percentage": 16,
"minimum": 10,
"offer": {
"id": 10,
"name": "Black Friday"
}
}
},
{
"id": 12,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 10,
"y": 16,
"percentage": 19,
"minimum": 19,
"offer": {
"id": 16,
"name": "Black Friday"
}
}
},
{
"id": 18,
"name": "...",
"price": {
"value": 13,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 13,
"y": 11,
"percentage": 13,
"minimum": 15,
"offer": {
"id": 12,
"name": "Black Friday"
}
}
}
],
"optionsets": [
{
"id": 18,
"name": "...",
"code": "...",
"options": [
{
"id": 14,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": true,
"code": "..."
},
{
"id": 19,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "..."
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": true,
"code": "..."
}
]
},
{
"id": 13,
"name": "...",
"code": "...",
"options": [
{
"id": 18,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "..."
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": false,
"code": "..."
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": true,
"code": "..."
}
]
},
{
"id": 19,
"name": "...",
"code": "...",
"options": [
{
"id": 18,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": true,
"code": "..."
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": true,
"code": "..."
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 14,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": false,
"code": "..."
}
]
}
],
"min_max": {
"amount": {
"minimum": 13,
"maximum": 10,
"suggested": 12
},
"weight": {
"minimum": 10,
"maximum": 11,
"suggested": 13
},
"persons": {
"minimum": 11,
"maximum": 19,
"suggested": 11
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
],
"offer": {
"type": "percentage",
"x": 18,
"y": 12,
"percentage": 12,
"minimum": 19,
"offer": {
"id": 15,
"name": "Black Friday"
}
}
},
{
"id": 15,
"name": "...",
"images": [
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": {
"value": 11,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 14,
"name": "Celery"
},
{
"id": 14,
"name": "Gluten"
},
{
"id": 13,
"name": "Mollusc"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": false,
"favourite": true,
"product_prices": [
{
"id": 12,
"name": "...",
"price": {
"value": 16,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 17,
"y": 18,
"percentage": 17,
"minimum": 16,
"offer": {
"id": 15,
"name": "Black Friday"
}
}
},
{
"id": 11,
"name": "...",
"price": {
"value": 10,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 13,
"y": 12,
"percentage": 12,
"minimum": 16,
"offer": {
"id": 19,
"name": "Black Friday"
}
}
},
{
"id": 17,
"name": "...",
"price": {
"value": 19,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 12,
"y": 10,
"percentage": 14,
"minimum": 11,
"offer": {
"id": 12,
"name": "Black Friday"
}
}
}
],
"optionsets": [
{
"id": 18,
"name": "...",
"code": "...",
"options": [
{
"id": 18,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "..."
},
{
"id": 17,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": true,
"code": "..."
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "..."
}
]
},
{
"id": 19,
"name": "...",
"code": "...",
"options": [
{
"id": 10,
"name": "...",
"price_change": {
"value": 14,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": true,
"code": "..."
},
{
"id": 13,
"name": "...",
"price_change": {
"value": 12,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": true,
"code": "..."
},
{
"id": 17,
"name": "...",
"price_change": {
"value": 13,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "..."
}
]
},
{
"id": 19,
"name": "...",
"code": "...",
"options": [
{
"id": 15,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": true,
"code": "..."
},
{
"id": 15,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": false,
"code": "..."
},
{
"id": 18,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": false,
"code": "..."
}
]
}
],
"min_max": {
"amount": {
"minimum": 10,
"maximum": 19,
"suggested": 19
},
"weight": {
"minimum": 13,
"maximum": 12,
"suggested": 16
},
"persons": {
"minimum": 16,
"maximum": 13,
"suggested": 19
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
],
"offer": {
"type": "percentage",
"x": 19,
"y": 14,
"percentage": 12,
"minimum": 18,
"offer": {
"id": 10,
"name": "Black Friday"
}
}
},
{
"id": 17,
"name": "...",
"images": [
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
}
],
"price_type": "PER_UNIT",
"target_price": true,
"price": {
"value": 13,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 13,
"name": "Milk"
},
{
"id": 12,
"name": "Egg"
},
{
"id": 17,
"name": "Fish"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": true,
"product_prices": [
{
"id": 16,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 18,
"y": 18,
"percentage": 12,
"minimum": 17,
"offer": {
"id": 15,
"name": "Black Friday"
}
}
},
{
"id": 19,
"name": "...",
"price": {
"value": 14,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 10,
"y": 13,
"percentage": 13,
"minimum": 16,
"offer": {
"id": 12,
"name": "Black Friday"
}
}
},
{
"id": 18,
"name": "...",
"price": {
"value": 18,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 18,
"y": 14,
"percentage": 11,
"minimum": 13,
"offer": {
"id": 15,
"name": "Black Friday"
}
}
}
],
"optionsets": [
{
"id": 18,
"name": "...",
"code": "...",
"options": [
{
"id": 16,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": true,
"code": "..."
},
{
"id": 15,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": true,
"code": "..."
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": true,
"code": "..."
}
]
},
{
"id": 14,
"name": "...",
"code": "...",
"options": [
{
"id": 18,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": false,
"code": "..."
},
{
"id": 17,
"name": "...",
"price_change": {
"value": 14,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": true,
"code": "..."
},
{
"id": 18,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": false,
"code": "..."
}
]
},
{
"id": 16,
"name": "...",
"code": "...",
"options": [
{
"id": 13,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
},
"require_image": true,
"code": "..."
},
{
"id": 14,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": true,
"code": "..."
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
},
"image": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"require_image": true,
"code": "..."
}
]
}
],
"min_max": {
"amount": {
"minimum": 10,
"maximum": 18,
"suggested": 11
},
"weight": {
"minimum": 16,
"maximum": 19,
"suggested": 13
},
"persons": {
"minimum": 19,
"maximum": 12,
"suggested": 11
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
],
"offer": {
"type": "percentage",
"x": 14,
"y": 19,
"percentage": 19,
"minimum": 12,
"offer": {
"id": 15,
"name": "Black Friday"
}
}
}
],
"seo": {
"title": {
"en": "Ea ipsam dolore dolorem sunt veniam ea assumenda commodi."
},
"description": {
"en": "Dignissimos sit velit magnam nihil ratione nam quis. Aut dicta quis ut quis earum consequuntur libero. Animi vero ut ipsum."
},
"url": {
"en": "https://www.wilderman.info/voluptas-exercitationem-est-voluptatibus-omnis-neque"
}
}
}