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/14 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.2.0
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: 25705
{
"id": 10,
"name": "Wyman Stroman",
"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": false
},
"messages": [
"...",
"...",
"..."
],
"products": [
{
"id": 12,
"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": 14,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 10,
"name": "Sulphite"
},
{
"id": 12,
"name": "Celery"
},
{
"id": 14,
"name": "Lupine"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": false,
"favourite": true,
"product_prices": [
{
"id": 15,
"name": "...",
"price": {
"value": 15,
"currency": "EUR"
}
},
{
"id": 18,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
}
},
{
"id": 14,
"name": "...",
"price": {
"value": 18,
"currency": "EUR"
}
}
],
"optionsets": [
{
"id": 14,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 13,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
}
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
}
},
{
"id": 15,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
}
}
]
},
{
"id": 18,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 16,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
}
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 13,
"currency": "EUR"
}
},
{
"id": 13,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
}
}
]
},
{
"id": 13,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 12,
"name": "...",
"price_change": {
"value": 12,
"currency": "EUR"
}
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
}
},
{
"id": 14,
"name": "...",
"price_change": {
"value": 13,
"currency": "EUR"
}
}
]
}
],
"min_max": {
"amount": {
"minimum": 11,
"maximum": 11,
"suggested": 11
},
"weight": {
"minimum": 11,
"maximum": 15,
"suggested": 17
},
"persons": {
"minimum": 18,
"maximum": 11,
"suggested": 16
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
]
},
{
"id": 12,
"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": 11,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 13,
"name": "Nuts"
},
{
"id": 15,
"name": "Gluten"
},
{
"id": 18,
"name": "Sesame"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": false,
"product_prices": [
{
"id": 12,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
}
},
{
"id": 17,
"name": "...",
"price": {
"value": 15,
"currency": "EUR"
}
},
{
"id": 13,
"name": "...",
"price": {
"value": 17,
"currency": "EUR"
}
}
],
"optionsets": [
{
"id": 17,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 11,
"name": "...",
"price_change": {
"value": 12,
"currency": "EUR"
}
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
}
},
{
"id": 13,
"name": "...",
"price_change": {
"value": 12,
"currency": "EUR"
}
}
]
},
{
"id": 13,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 18,
"name": "...",
"price_change": {
"value": 13,
"currency": "EUR"
}
},
{
"id": 17,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
}
},
{
"id": 17,
"name": "...",
"price_change": {
"value": 14,
"currency": "EUR"
}
}
]
},
{
"id": 11,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 10,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
}
},
{
"id": 19,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
}
},
{
"id": 16,
"name": "...",
"price_change": {
"value": 12,
"currency": "EUR"
}
}
]
}
],
"min_max": {
"amount": {
"minimum": 10,
"maximum": 17,
"suggested": 12
},
"weight": {
"minimum": 19,
"maximum": 18,
"suggested": 10
},
"persons": {
"minimum": 18,
"maximum": 19,
"suggested": 16
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
]
},
{
"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": 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
}
],
"price_type": "PER_UNIT",
"target_price": false,
"price": {
"value": 11,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 16,
"name": "Lactose"
},
{
"id": 14,
"name": "Sulphite"
},
{
"id": 10,
"name": "Sesame"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": false,
"product_prices": [
{
"id": 19,
"name": "...",
"price": {
"value": 11,
"currency": "EUR"
}
},
{
"id": 14,
"name": "...",
"price": {
"value": 18,
"currency": "EUR"
}
},
{
"id": 17,
"name": "...",
"price": {
"value": 16,
"currency": "EUR"
}
}
],
"optionsets": [
{
"id": 10,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 11,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
}
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
}
},
{
"id": 19,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
}
}
]
},
{
"id": 18,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 15,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
}
},
{
"id": 18,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
}
},
{
"id": 13,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
}
}
]
},
{
"id": 10,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 10,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
}
},
{
"id": 16,
"name": "...",
"price_change": {
"value": 14,
"currency": "EUR"
}
},
{
"id": 12,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
}
}
]
}
],
"min_max": {
"amount": {
"minimum": 15,
"maximum": 15,
"suggested": 17
},
"weight": {
"minimum": 16,
"maximum": 16,
"suggested": 14
},
"persons": {
"minimum": 13,
"maximum": 16,
"suggested": 13
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
]
}
],
"seo": {
"title": {
"en": "Dolor quia id modi cumque explicabo est molestiae alias."
},
"description": {
"en": "Quos aut quas provident minima assumenda. Cum dolores voluptatem qui deleniti ea aut aliquid. Dolorum blanditiis harum est et voluptatem."
},
"url": {
"en": "http://moen.com/"
}
}
}