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/19 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.2
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: 59638
{
"id": 15,
"name": "Malika Bergstrom",
"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": 18,
"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": false,
"price": {
"value": 17,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 10,
"name": "Peanut"
},
{
"id": 11,
"name": "Sulphite"
},
{
"id": 11,
"name": "Mollusc"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": false,
"favourite": true,
"product_prices": [
{
"id": 15,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 10,
"y": 10,
"percentage": 11,
"minimum": 10,
"offer": {
"id": 19,
"name": "Black Friday"
}
}
},
{
"id": 15,
"name": "...",
"price": {
"value": 11,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 15,
"y": 11,
"percentage": 15,
"minimum": 12,
"offer": {
"id": 10,
"name": "Black Friday"
}
}
},
{
"id": 15,
"name": "...",
"price": {
"value": 18,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 18,
"y": 15,
"percentage": 14,
"minimum": 19,
"offer": {
"id": 19,
"name": "Black Friday"
}
}
}
],
"optionsets": [
{
"id": 14,
"name": "...",
"code": "...",
"options": [
{
"id": 12,
"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": 17,
"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": 19,
"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": "...",
"code": "...",
"options": [
{
"id": 16,
"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": false,
"code": "..."
},
{
"id": 18,
"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": true
},
"require_image": false,
"code": "..."
},
{
"id": 14,
"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": 15,
"name": "...",
"code": "...",
"options": [
{
"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": 13,
"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": 16,
"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": false,
"code": "..."
}
]
}
],
"min_max": {
"amount": {
"minimum": 19,
"maximum": 17,
"suggested": 17
},
"weight": {
"minimum": 12,
"maximum": 18,
"suggested": 14
},
"persons": {
"minimum": 12,
"maximum": 10,
"suggested": 19
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
],
"offer": {
"type": "percentage",
"x": 17,
"y": 11,
"percentage": 18,
"minimum": 13,
"offer": {
"id": 16,
"name": "Black Friday"
}
},
"soldout": true,
"stock": {
"amount": 13
},
"category": {
"id": 12,
"name": "..."
}
},
{
"id": 14,
"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": 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": false
}
],
"price_type": "PER_UNIT",
"target_price": false,
"price": {
"value": 15,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 11,
"name": "Crustaceans"
},
{
"id": 10,
"name": "Mustard"
},
{
"id": 17,
"name": "Nuts"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": false,
"favourite": true,
"product_prices": [
{
"id": 16,
"name": "...",
"price": {
"value": 15,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 11,
"y": 13,
"percentage": 19,
"minimum": 12,
"offer": {
"id": 14,
"name": "Black Friday"
}
}
},
{
"id": 16,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 10,
"y": 19,
"percentage": 18,
"minimum": 10,
"offer": {
"id": 15,
"name": "Black Friday"
}
}
},
{
"id": 11,
"name": "...",
"price": {
"value": 11,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 17,
"y": 10,
"percentage": 16,
"minimum": 18,
"offer": {
"id": 11,
"name": "Black Friday"
}
}
}
],
"optionsets": [
{
"id": 17,
"name": "...",
"code": "...",
"options": [
{
"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": false
},
"require_image": true,
"code": "..."
},
{
"id": 15,
"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": 15,
"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": 18,
"name": "...",
"code": "...",
"options": [
{
"id": 11,
"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": 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": true
},
"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": false
},
"require_image": false,
"code": "..."
}
]
},
{
"id": 15,
"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": false
},
"require_image": true,
"code": "..."
},
{
"id": 11,
"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": true,
"code": "..."
},
{
"id": 18,
"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": true,
"code": "..."
}
]
}
],
"min_max": {
"amount": {
"minimum": 12,
"maximum": 11,
"suggested": 13
},
"weight": {
"minimum": 19,
"maximum": 18,
"suggested": 15
},
"persons": {
"minimum": 11,
"maximum": 18,
"suggested": 13
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
],
"offer": {
"type": "percentage",
"x": 10,
"y": 19,
"percentage": 14,
"minimum": 16,
"offer": {
"id": 17,
"name": "Black Friday"
}
},
"soldout": true,
"stock": {
"amount": 13
},
"category": {
"id": 16,
"name": "..."
}
},
{
"id": 18,
"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": false,
"price": {
"value": 10,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 15,
"name": "Fish"
},
{
"id": 13,
"name": "Sesame"
},
{
"id": 11,
"name": "Lupine"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": false,
"product_prices": [
{
"id": 10,
"name": "...",
"price": {
"value": 10,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 18,
"y": 19,
"percentage": 19,
"minimum": 15,
"offer": {
"id": 10,
"name": "Black Friday"
}
}
},
{
"id": 18,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 18,
"y": 18,
"percentage": 19,
"minimum": 18,
"offer": {
"id": 12,
"name": "Black Friday"
}
}
},
{
"id": 17,
"name": "...",
"price": {
"value": 18,
"currency": "EUR"
},
"offer": {
"type": "percentage",
"x": 11,
"y": 17,
"percentage": 11,
"minimum": 18,
"offer": {
"id": 13,
"name": "Black Friday"
}
}
}
],
"optionsets": [
{
"id": 11,
"name": "...",
"code": "...",
"options": [
{
"id": 19,
"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": true,
"code": "..."
},
{
"id": 13,
"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": true
},
"require_image": false,
"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": 18,
"name": "...",
"code": "...",
"options": [
{
"id": 11,
"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": true
},
"require_image": false,
"code": "..."
},
{
"id": 13,
"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": 12,
"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": false,
"code": "..."
}
]
},
{
"id": 19,
"name": "...",
"code": "...",
"options": [
{
"id": 16,
"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": false
},
"require_image": true,
"code": "..."
},
{
"id": 15,
"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": 12,
"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": 13,
"maximum": 18,
"suggested": 13
},
"weight": {
"minimum": 11,
"maximum": 11,
"suggested": 15
},
"persons": {
"minimum": 16,
"maximum": 13,
"suggested": 11
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
],
"offer": {
"type": "percentage",
"x": 15,
"y": 12,
"percentage": 10,
"minimum": 16,
"offer": {
"id": 14,
"name": "Black Friday"
}
},
"soldout": true,
"stock": {
"amount": 10
},
"category": {
"id": 14,
"name": "..."
}
}
],
"seo": {
"title": {
"en": "Reprehenderit enim vero culpa magnam voluptatum nobis dignissimos facilis."
},
"description": {
"en": "Incidunt voluptatem sit deserunt dignissimos. Incidunt asperiores quia quidem excepturi voluptate. Et dolor sapiente et blanditiis in error."
},
"url": {
"en": "http://mayert.com/voluptatum-quam-consectetur-ut-nobis-eveniet"
}
}
}