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/19/categories/17 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.3.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: 25712
{
"id": 19,
"name": "Renee Jacobi",
"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": 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": 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": 15,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 15,
"name": "Gluten"
},
{
"id": 16,
"name": "Sulphite"
},
{
"id": 13,
"name": "Mollusc"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": false,
"favourite": false,
"product_prices": [
{
"id": 13,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
}
},
{
"id": 18,
"name": "...",
"price": {
"value": 14,
"currency": "EUR"
}
},
{
"id": 19,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
}
}
],
"optionsets": [
{
"id": 14,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 13,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
}
},
{
"id": 15,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
}
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
}
}
]
},
{
"id": 16,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 10,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
}
},
{
"id": 18,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
}
},
{
"id": 13,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
}
}
]
},
{
"id": 14,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 17,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
}
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 12,
"currency": "EUR"
}
},
{
"id": 16,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
}
}
]
}
],
"min_max": {
"amount": {
"minimum": 17,
"maximum": 13,
"suggested": 19
},
"weight": {
"minimum": 16,
"maximum": 13,
"suggested": 19
},
"persons": {
"minimum": 16,
"maximum": 10,
"suggested": 14
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
]
},
{
"id": 13,
"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": 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": 17,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 18,
"name": "Mollusc"
},
{
"id": 17,
"name": "Sesame"
},
{
"id": 16,
"name": "Nuts"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": false,
"product_prices": [
{
"id": 15,
"name": "...",
"price": {
"value": 18,
"currency": "EUR"
}
},
{
"id": 16,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
}
},
{
"id": 10,
"name": "...",
"price": {
"value": 12,
"currency": "EUR"
}
}
],
"optionsets": [
{
"id": 15,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 19,
"name": "...",
"price_change": {
"value": 14,
"currency": "EUR"
}
},
{
"id": 13,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
}
},
{
"id": 12,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
}
}
]
},
{
"id": 18,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 19,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
}
},
{
"id": 16,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
}
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 10,
"currency": "EUR"
}
}
]
},
{
"id": 11,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 15,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
}
},
{
"id": 19,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
}
},
{
"id": 16,
"name": "...",
"price_change": {
"value": 15,
"currency": "EUR"
}
}
]
}
],
"min_max": {
"amount": {
"minimum": 15,
"maximum": 12,
"suggested": 13
},
"weight": {
"minimum": 19,
"maximum": 11,
"suggested": 15
},
"persons": {
"minimum": 13,
"maximum": 12,
"suggested": 13
}
},
"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": 18,
"currency": "EUR"
},
"subtitle": "...",
"description": "...",
"allergens": [
{
"id": 13,
"name": "Mollusc"
},
{
"id": 10,
"name": "Soy"
},
{
"id": 17,
"name": "Mustard"
}
],
"url": "https://example.com",
"url_type": "none",
"specialty": true,
"favourite": false,
"product_prices": [
{
"id": 14,
"name": "...",
"price": {
"value": 15,
"currency": "EUR"
}
},
{
"id": 12,
"name": "...",
"price": {
"value": 16,
"currency": "EUR"
}
},
{
"id": 16,
"name": "...",
"price": {
"value": 11,
"currency": "EUR"
}
}
],
"optionsets": [
{
"id": 17,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 11,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
}
},
{
"id": 12,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
}
},
{
"id": 18,
"name": "...",
"price_change": {
"value": 18,
"currency": "EUR"
}
}
]
},
{
"id": 18,
"name": "...",
"allow_attachment": true,
"options": [
{
"id": 10,
"name": "...",
"price_change": {
"value": 13,
"currency": "EUR"
}
},
{
"id": 11,
"name": "...",
"price_change": {
"value": 17,
"currency": "EUR"
}
},
{
"id": 15,
"name": "...",
"price_change": {
"value": 16,
"currency": "EUR"
}
}
]
},
{
"id": 14,
"name": "...",
"allow_attachment": false,
"options": [
{
"id": 19,
"name": "...",
"price_change": {
"value": 19,
"currency": "EUR"
}
},
{
"id": 16,
"name": "...",
"price_change": {
"value": 11,
"currency": "EUR"
}
},
{
"id": 10,
"name": "...",
"price_change": {
"value": 13,
"currency": "EUR"
}
}
]
}
],
"min_max": {
"amount": {
"minimum": 14,
"maximum": 12,
"suggested": 16
},
"weight": {
"minimum": 16,
"maximum": 10,
"suggested": 16
},
"persons": {
"minimum": 14,
"maximum": 14,
"suggested": 10
}
},
"info": [
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
},
{
"name": "...",
"title": "...",
"text": "...",
"type": "HTML"
}
]
}
],
"seo": {
"title": {
"en": "Sapiente sed velit voluptatem ea saepe eum ex."
},
"description": {
"en": "Quia perferendis ut ipsa laborum quibusdam dicta porro. Quas est incidunt repellendus est et occaecati facere. Dicta id quia dolores enim molestiae."
},
"url": {
"en": "http://cruickshank.com/"
}
}
}