Get category by id

GET /shops/@shop/categories/@id

Request

Optional authentication

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

URL parameters

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

Example request 1 Invalid id

GET /shops/138/categories/99999999999999999 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 2 Valid category id (unauthenticated)

GET /shops/138/categories/220 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 3 Valid category id (authenticated)

GET /shops/138/categories/220 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 791b4fff7fdebc574ae3a1139a6350dc78592fb93649a10cb628645bcbcc3e4eb2fefc1808398952b34fb08435016781fd1592e847a071279a85034f452af9d28ebffa524afd6c5e783e82add291e1667dcc3a0e7c65b9527838b538de65ea9482e99ad5
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 4 Inactive category should not be accessible

GET /shops/138/categories/221 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 5 Only on isop category should not be accessible

GET /shops/138/categories/222 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Response

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

Example response 1 Invalid id

HTTP/1.1 404 Not Found
Content-Type: application/json; charset=utf-8
Content-Length: 73

{
    "code": "category_not_found",
    "message": "Category not found"
}

Example response 2 Valid category id (unauthenticated)

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 22199

{
    "id": 220,
    "name": "Wheat",
    "banner": null,
    "seo": {
        "title": [],
        "description": [],
        "url": []
    },
    "messages": [],
    "products": [
        {
            "id": 370,
            "name": "Wit stokbrood",
            "price": {
                "value": 5738,
                "currency": "EUR"
            },
            "images": [
                {
                    "resolutions": [
                        {
                            "src": "https://bakeronline.be/uploads/tests/250x200/product-wit-pannen.jpg",
                            "width": 300,
                            "height": 200
                        },
                        {
                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-wit-pannen.jpg",
                            "width": 1080,
                            "height": 720
                        }
                    ],
                    "white_background": true
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": false,
            "subtitle": null,
            "description": "",
            "allergens": [
                {
                    "id": 1,
                    "name": "1319"
                },
                {
                    "id": 6,
                    "name": "1324"
                },
                {
                    "id": 10,
                    "name": "1328"
                },
                {
                    "id": 11,
                    "name": "1329"
                },
                {
                    "id": 12,
                    "name": "1330"
                }
            ],
            "url": "https://www.rousseau.com/quos-hic-qui-fugit-tenetur",
            "url_type": "recipe",
            "specialty": false,
            "favourite": null,
            "product_prices": [],
            "optionsets": [
                {
                    "id": 378,
                    "name": "Do you want a picture on your cake?",
                    "code": null,
                    "options": [
                        {
                            "id": 1325,
                            "name": "No",
                            "price_change": {
                                "value": 95,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1326,
                            "name": "No",
                            "price_change": {
                                "value": 79,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1327,
                            "name": "Yes",
                            "price_change": {
                                "value": 269,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1328,
                            "name": "Yes",
                            "price_change": {
                                "value": 102,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1329,
                            "name": "Yes",
                            "price_change": {
                                "value": 60,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                },
                {
                    "id": 379,
                    "name": "Do you want a picture on your cake?",
                    "code": null,
                    "options": [
                        {
                            "id": 1330,
                            "name": "No thank you",
                            "price_change": {
                                "value": 980,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1331,
                            "name": "Yes",
                            "price_change": {
                                "value": 827,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1332,
                            "name": "Yes please",
                            "price_change": {
                                "value": 79,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1333,
                            "name": "Yes please",
                            "price_change": {
                                "value": 375,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                },
                {
                    "id": 380,
                    "name": "Extra baked?",
                    "code": null,
                    "options": [
                        {
                            "id": 1334,
                            "name": "No thank you",
                            "price_change": {
                                "value": 528,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1335,
                            "name": "Yes",
                            "price_change": {
                                "value": 875,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                },
                {
                    "id": 381,
                    "name": "Do you want a bag?",
                    "code": null,
                    "options": [
                        {
                            "id": 1336,
                            "name": "Yes please",
                            "price_change": {
                                "value": 571,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1337,
                            "name": "Yes",
                            "price_change": {
                                "value": 668,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1338,
                            "name": "No thank you",
                            "price_change": {
                                "value": 44,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1339,
                            "name": "Yes please",
                            "price_change": {
                                "value": 147,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "suggested": 4,
                    "minimum": 1,
                    "maximum": null
                },
                "weight": {
                    "suggested": 100,
                    "minimum": 1,
                    "maximum": null
                },
                "persons": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                }
            },
            "info": [
                {
                    "name": "availability-takeout",
                    "title": "6736",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-latch",
                    "title": "6737",
                    "text": "<p>5671</p><p><b>2118 - 2120:</b> 3841</p><p><b>2121 - 2122:</b> 5689</p><p><b>2130:</b> 3841</p><p><b>2131:</b> 5689</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-delivery",
                    "title": "5674",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "ingredients",
                    "title": "3881",
                    "text": "A list of ingredients here",
                    "type": "PLAIN"
                },
                {
                    "name": "allergens",
                    "title": "3882",
                    "text": "3883",
                    "type": "PLAIN"
                }
            ],
            "offer": {
                "type": "x-plus-y",
                "x": 4,
                "y": 2,
                "percentage": null,
                "minimum": null,
                "offer": {
                    "id": 13,
                    "name": "Black Friday"
                }
            }
        },
        {
            "id": 371,
            "name": "Scampi brochette",
            "price": {
                "value": 5242,
                "currency": "EUR"
            },
            "images": [
                {
                    "resolutions": [
                        {
                            "src": "https://bakeronline.be/uploads/tests/250x200/product-hagelslag.jpg",
                            "width": 300,
                            "height": 200
                        },
                        {
                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-hagelslag.jpg",
                            "width": 1080,
                            "height": 720
                        }
                    ],
                    "white_background": true
                }
            ],
            "price_type": "MULTIPLE_CHOICE",
            "target_price": false,
            "subtitle": null,
            "description": "",
            "allergens": [
                {
                    "id": 12,
                    "name": "1330"
                },
                {
                    "id": 13,
                    "name": "1331"
                }
            ],
            "url": "http://www.simons.com/quas-consequatur-perspiciatis-eum",
            "url_type": "website",
            "specialty": false,
            "favourite": null,
            "product_prices": [
                {
                    "id": 205,
                    "name": "3 persons",
                    "price": {
                        "value": 13,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": null,
                        "y": null,
                        "percentage": 1500,
                        "minimum": null,
                        "offer": {
                            "id": 13,
                            "name": "Black Friday"
                        }
                    }
                },
                {
                    "id": 206,
                    "name": "2 persons",
                    "price": {
                        "value": 19,
                        "currency": "EUR"
                    },
                    "offer": null
                }
            ],
            "optionsets": [],
            "min_max": {
                "amount": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                },
                "weight": {
                    "suggested": 100,
                    "minimum": 1,
                    "maximum": null
                },
                "persons": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                }
            },
            "info": [
                {
                    "name": "availability-takeout",
                    "title": "6736",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-latch",
                    "title": "6737",
                    "text": "<p>5671</p><p><b>2118 - 2120:</b> 3841</p><p><b>2121 - 2122:</b> 5689</p><p><b>2130:</b> 3841</p><p><b>2131:</b> 5689</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-delivery",
                    "title": "5674",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "ingredients",
                    "title": "3881",
                    "text": "A list of ingredients here",
                    "type": "PLAIN"
                },
                {
                    "name": "allergens",
                    "title": "3882",
                    "text": "3883",
                    "type": "PLAIN"
                }
            ],
            "offer": null
        },
        {
            "id": 372,
            "name": "Muesli",
            "price": {
                "value": 1638,
                "currency": "EUR"
            },
            "images": [
                {
                    "resolutions": [
                        {
                            "src": "https://bakeronline.be/uploads/tests/250x200/product-creme-bloemsuiker.jpg",
                            "width": 300,
                            "height": 200
                        },
                        {
                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-creme-bloemsuiker.jpg",
                            "width": 1080,
                            "height": 720
                        }
                    ],
                    "white_background": true
                }
            ],
            "price_type": "MULTIPLE_CHOICE",
            "target_price": false,
            "subtitle": null,
            "description": "",
            "allergens": [
                {
                    "id": 2,
                    "name": "1320"
                },
                {
                    "id": 4,
                    "name": "1322"
                },
                {
                    "id": 5,
                    "name": "1323"
                },
                {
                    "id": 6,
                    "name": "1324"
                },
                {
                    "id": 7,
                    "name": "1325"
                },
                {
                    "id": 9,
                    "name": "1327"
                },
                {
                    "id": 10,
                    "name": "1328"
                },
                {
                    "id": 12,
                    "name": "1330"
                },
                {
                    "id": 14,
                    "name": "1332"
                }
            ],
            "url": "http://www.marchal.be/molestiae-nemo-dolore-sunt-ratione-enim",
            "url_type": "none",
            "specialty": false,
            "favourite": null,
            "product_prices": [
                {
                    "id": 207,
                    "name": "7 persons",
                    "price": {
                        "value": 48,
                        "currency": "EUR"
                    },
                    "offer": null
                },
                {
                    "id": 208,
                    "name": "4 persons",
                    "price": {
                        "value": 85,
                        "currency": "EUR"
                    },
                    "offer": null
                },
                {
                    "id": 209,
                    "name": "5 persons",
                    "price": {
                        "value": 5,
                        "currency": "EUR"
                    },
                    "offer": null
                },
                {
                    "id": 210,
                    "name": "5 persons",
                    "price": {
                        "value": 56,
                        "currency": "EUR"
                    },
                    "offer": null
                }
            ],
            "optionsets": [
                {
                    "id": 382,
                    "name": "Do you want a picture on your cake?",
                    "code": null,
                    "options": [
                        {
                            "id": 1340,
                            "name": "No",
                            "price_change": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1341,
                            "name": "Yes please",
                            "price_change": {
                                "value": 760,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1342,
                            "name": "No",
                            "price_change": {
                                "value": 671,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                },
                "weight": {
                    "suggested": 100,
                    "minimum": 1,
                    "maximum": null
                },
                "persons": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                }
            },
            "info": [
                {
                    "name": "availability-takeout",
                    "title": "6736",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-latch",
                    "title": "6737",
                    "text": "<p>5671</p><p><b>2118 - 2120:</b> 3841</p><p><b>2121 - 2122:</b> 5689</p><p><b>2130:</b> 3841</p><p><b>2131:</b> 5689</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-delivery",
                    "title": "5674",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "ingredients",
                    "title": "3881",
                    "text": "A list of ingredients here",
                    "type": "PLAIN"
                },
                {
                    "name": "allergens",
                    "title": "3882",
                    "text": "3883",
                    "type": "PLAIN"
                }
            ],
            "offer": null
        }
    ]
}

Example response 3 Valid category id (authenticated)

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 22201

{
    "id": 220,
    "name": "Wheat",
    "banner": null,
    "seo": {
        "title": [],
        "description": [],
        "url": []
    },
    "messages": [],
    "products": [
        {
            "id": 370,
            "name": "Wit stokbrood",
            "price": {
                "value": 5738,
                "currency": "EUR"
            },
            "images": [
                {
                    "resolutions": [
                        {
                            "src": "https://bakeronline.be/uploads/tests/250x200/product-wit-pannen.jpg",
                            "width": 300,
                            "height": 200
                        },
                        {
                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-wit-pannen.jpg",
                            "width": 1080,
                            "height": 720
                        }
                    ],
                    "white_background": true
                }
            ],
            "price_type": "PER_UNIT",
            "target_price": false,
            "subtitle": null,
            "description": "",
            "allergens": [
                {
                    "id": 1,
                    "name": "1319"
                },
                {
                    "id": 6,
                    "name": "1324"
                },
                {
                    "id": 10,
                    "name": "1328"
                },
                {
                    "id": 11,
                    "name": "1329"
                },
                {
                    "id": 12,
                    "name": "1330"
                }
            ],
            "url": "https://www.rousseau.com/quos-hic-qui-fugit-tenetur",
            "url_type": "recipe",
            "specialty": false,
            "favourite": false,
            "product_prices": [],
            "optionsets": [
                {
                    "id": 378,
                    "name": "Do you want a picture on your cake?",
                    "code": null,
                    "options": [
                        {
                            "id": 1325,
                            "name": "No",
                            "price_change": {
                                "value": 95,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1326,
                            "name": "No",
                            "price_change": {
                                "value": 79,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1327,
                            "name": "Yes",
                            "price_change": {
                                "value": 269,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1328,
                            "name": "Yes",
                            "price_change": {
                                "value": 102,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1329,
                            "name": "Yes",
                            "price_change": {
                                "value": 60,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                },
                {
                    "id": 379,
                    "name": "Do you want a picture on your cake?",
                    "code": null,
                    "options": [
                        {
                            "id": 1330,
                            "name": "No thank you",
                            "price_change": {
                                "value": 980,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1331,
                            "name": "Yes",
                            "price_change": {
                                "value": 827,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1332,
                            "name": "Yes please",
                            "price_change": {
                                "value": 79,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1333,
                            "name": "Yes please",
                            "price_change": {
                                "value": 375,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                },
                {
                    "id": 380,
                    "name": "Extra baked?",
                    "code": null,
                    "options": [
                        {
                            "id": 1334,
                            "name": "No thank you",
                            "price_change": {
                                "value": 528,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1335,
                            "name": "Yes",
                            "price_change": {
                                "value": 875,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                },
                {
                    "id": 381,
                    "name": "Do you want a bag?",
                    "code": null,
                    "options": [
                        {
                            "id": 1336,
                            "name": "Yes please",
                            "price_change": {
                                "value": 571,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1337,
                            "name": "Yes",
                            "price_change": {
                                "value": 668,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1338,
                            "name": "No thank you",
                            "price_change": {
                                "value": 44,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1339,
                            "name": "Yes please",
                            "price_change": {
                                "value": 147,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "suggested": 4,
                    "minimum": 1,
                    "maximum": null
                },
                "weight": {
                    "suggested": 100,
                    "minimum": 1,
                    "maximum": null
                },
                "persons": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                }
            },
            "info": [
                {
                    "name": "availability-takeout",
                    "title": "6736",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-latch",
                    "title": "6737",
                    "text": "<p>5671</p><p><b>2118 - 2120:</b> 3841</p><p><b>2121 - 2122:</b> 5689</p><p><b>2130:</b> 3841</p><p><b>2131:</b> 5689</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-delivery",
                    "title": "5674",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "ingredients",
                    "title": "3881",
                    "text": "A list of ingredients here",
                    "type": "PLAIN"
                },
                {
                    "name": "allergens",
                    "title": "3882",
                    "text": "3883",
                    "type": "PLAIN"
                }
            ],
            "offer": {
                "type": "x-plus-y",
                "x": 4,
                "y": 2,
                "percentage": null,
                "minimum": null,
                "offer": {
                    "id": 13,
                    "name": "Black Friday"
                }
            }
        },
        {
            "id": 371,
            "name": "Scampi brochette",
            "price": {
                "value": 5242,
                "currency": "EUR"
            },
            "images": [
                {
                    "resolutions": [
                        {
                            "src": "https://bakeronline.be/uploads/tests/250x200/product-hagelslag.jpg",
                            "width": 300,
                            "height": 200
                        },
                        {
                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-hagelslag.jpg",
                            "width": 1080,
                            "height": 720
                        }
                    ],
                    "white_background": true
                }
            ],
            "price_type": "MULTIPLE_CHOICE",
            "target_price": false,
            "subtitle": null,
            "description": "",
            "allergens": [
                {
                    "id": 12,
                    "name": "1330"
                },
                {
                    "id": 13,
                    "name": "1331"
                }
            ],
            "url": "http://www.simons.com/quas-consequatur-perspiciatis-eum",
            "url_type": "website",
            "specialty": false,
            "favourite": false,
            "product_prices": [
                {
                    "id": 205,
                    "name": "3 persons",
                    "price": {
                        "value": 13,
                        "currency": "EUR"
                    },
                    "offer": {
                        "type": "percentage",
                        "x": null,
                        "y": null,
                        "percentage": 1500,
                        "minimum": null,
                        "offer": {
                            "id": 13,
                            "name": "Black Friday"
                        }
                    }
                },
                {
                    "id": 206,
                    "name": "2 persons",
                    "price": {
                        "value": 19,
                        "currency": "EUR"
                    },
                    "offer": null
                }
            ],
            "optionsets": [],
            "min_max": {
                "amount": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                },
                "weight": {
                    "suggested": 100,
                    "minimum": 1,
                    "maximum": null
                },
                "persons": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                }
            },
            "info": [
                {
                    "name": "availability-takeout",
                    "title": "6736",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-latch",
                    "title": "6737",
                    "text": "<p>5671</p><p><b>2118 - 2120:</b> 3841</p><p><b>2121 - 2122:</b> 5689</p><p><b>2130:</b> 3841</p><p><b>2131:</b> 5689</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-delivery",
                    "title": "5674",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "ingredients",
                    "title": "3881",
                    "text": "A list of ingredients here",
                    "type": "PLAIN"
                },
                {
                    "name": "allergens",
                    "title": "3882",
                    "text": "3883",
                    "type": "PLAIN"
                }
            ],
            "offer": null
        },
        {
            "id": 372,
            "name": "Muesli",
            "price": {
                "value": 1638,
                "currency": "EUR"
            },
            "images": [
                {
                    "resolutions": [
                        {
                            "src": "https://bakeronline.be/uploads/tests/250x200/product-creme-bloemsuiker.jpg",
                            "width": 300,
                            "height": 200
                        },
                        {
                            "src": "https://bakeronline.be/uploads/tests/1080x720/product-creme-bloemsuiker.jpg",
                            "width": 1080,
                            "height": 720
                        }
                    ],
                    "white_background": true
                }
            ],
            "price_type": "MULTIPLE_CHOICE",
            "target_price": false,
            "subtitle": null,
            "description": "",
            "allergens": [
                {
                    "id": 2,
                    "name": "1320"
                },
                {
                    "id": 4,
                    "name": "1322"
                },
                {
                    "id": 5,
                    "name": "1323"
                },
                {
                    "id": 6,
                    "name": "1324"
                },
                {
                    "id": 7,
                    "name": "1325"
                },
                {
                    "id": 9,
                    "name": "1327"
                },
                {
                    "id": 10,
                    "name": "1328"
                },
                {
                    "id": 12,
                    "name": "1330"
                },
                {
                    "id": 14,
                    "name": "1332"
                }
            ],
            "url": "http://www.marchal.be/molestiae-nemo-dolore-sunt-ratione-enim",
            "url_type": "none",
            "specialty": false,
            "favourite": true,
            "product_prices": [
                {
                    "id": 207,
                    "name": "7 persons",
                    "price": {
                        "value": 48,
                        "currency": "EUR"
                    },
                    "offer": null
                },
                {
                    "id": 208,
                    "name": "4 persons",
                    "price": {
                        "value": 85,
                        "currency": "EUR"
                    },
                    "offer": null
                },
                {
                    "id": 209,
                    "name": "5 persons",
                    "price": {
                        "value": 5,
                        "currency": "EUR"
                    },
                    "offer": null
                },
                {
                    "id": 210,
                    "name": "5 persons",
                    "price": {
                        "value": 56,
                        "currency": "EUR"
                    },
                    "offer": null
                }
            ],
            "optionsets": [
                {
                    "id": 382,
                    "name": "Do you want a picture on your cake?",
                    "code": null,
                    "options": [
                        {
                            "id": 1340,
                            "name": "No",
                            "price_change": {
                                "value": 560,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1341,
                            "name": "Yes please",
                            "price_change": {
                                "value": 760,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        },
                        {
                            "id": 1342,
                            "name": "No",
                            "price_change": {
                                "value": 671,
                                "currency": "EUR"
                            },
                            "image": null,
                            "require_image": false,
                            "code": null
                        }
                    ]
                }
            ],
            "min_max": {
                "amount": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                },
                "weight": {
                    "suggested": 100,
                    "minimum": 1,
                    "maximum": null
                },
                "persons": {
                    "suggested": 1,
                    "minimum": 1,
                    "maximum": null
                }
            },
            "info": [
                {
                    "name": "availability-takeout",
                    "title": "6736",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-latch",
                    "title": "6737",
                    "text": "<p>5671</p><p><b>2118 - 2120:</b> 3841</p><p><b>2121 - 2122:</b> 5689</p><p><b>2130:</b> 3841</p><p><b>2131:</b> 5689</p>",
                    "type": "HTML"
                },
                {
                    "name": "availability-delivery",
                    "title": "5674",
                    "text": "<p>3841</p>",
                    "type": "HTML"
                },
                {
                    "name": "ingredients",
                    "title": "3881",
                    "text": "A list of ingredients here",
                    "type": "PLAIN"
                },
                {
                    "name": "allergens",
                    "title": "3882",
                    "text": "3883",
                    "type": "PLAIN"
                }
            ],
            "offer": null
        }
    ]
}

Example response 4 Inactive category should not be accessible

HTTP/1.1 404 Not Found
Content-Type: application/json; charset=utf-8
Content-Length: 73

{
    "code": "category_not_found",
    "message": "Category not found"
}

Example response 5 Only on isop category should not be accessible

HTTP/1.1 404 Not Found
Content-Type: application/json; charset=utf-8
Content-Length: 73

{
    "code": "category_not_found",
    "message": "Category not found"
}
1.5.0 stable