Search shops

GET /shops/search

Request

Query string (URL)

Append the querystring with following properties to the URL.

A dictionary with fields

Field Type Description
query String Optional. A String value
coordinates Coordinates Optional. Coordinates of a place in the world
distance Int Optional. An integer value
sortBy String Optional. String. Should be equal to 'distance'
company_id Int Optional. Only return shops of this company ID

Example request 1 Empty input

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

Example request 2 Query existing shop name

GET /shops/search?query=the+dough+below HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 3 Very long unrealistic query

GET /shops/search?query=sdgsd%C3%A8734s%24sdG%2Asdg HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 4 Only coordinates given

GET /shops/search?coordinates%5Blatitude%5D=51.05&coordinates%5Blongitude%5D=3.7167 HTTP/1.1
Host: api.bakeronline.be
Accept-Language: en-US,en;q=0.5
X-VERSION: 1.5.0

Example request 5 Nearby Ghent, Belgium

GET /shops/search?coordinates%5Blatitude%5D=51.05&coordinates%5Blongitude%5D=3.7167&sortBy=distance&distance=5000 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 6 Nearby Ghent, Belgium only from given company

GET /shops/search?query=The+Dough+Below&company_id=2176 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Response

Array of Shop.detailed: [Shop.detailed]

Shop.detailed

Field Type Description
id Int Id of the shop
name String Name of the shop (translated)
address Address.detailed An address
allow_comments Bool A boolean value
offers [Offer] Array of Offer
images [String: Image] Dictionary of Image with keys of type String
allow_orders Bool A boolean value
delivery_use_intervals Bool A boolean value
categories [Category.simple] Array of Category.simple
category_groups [CategoryGroup] List of category groups. The ids refer to a category in the categories field. Categories without a CategoryGroup should also get displayed.
currency Currency 3 letter ISO 4217 currency name (string)

Example response 1 Empty input

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

[
    {
        "id": 11,
        "name": "Jacks Bakery",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE",
            "position": {
                "latitude": 51.0361068,
                "longitude": 3.6949329
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/11/180x180/jacksbackery.png",
                        "width": 184,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/11/360x360/jacksbackery.png",
                        "width": 224,
                        "height": 219
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": true,
        "categories": [
            {
                "id": 10252,
                "name": "Bread",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 10260,
                "name": "Sweet bread",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 10384,
                "name": "Confisserie",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 11849,
                "name": "Restaurant",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 12,
        "name": "Bakkerij Verheyen",
        "address": {
            "street": "Leistraat",
            "nr": "120",
            "zipcode": "2460",
            "city": "Lichtaart",
            "country": "BE",
            "position": {
                "latitude": 51.2241861,
                "longitude": 4.9141442
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 10251,
                "name": "taart",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 14,
        "name": "Vangenechten & zoon",
        "address": {
            "street": "Elsum",
            "nr": "11",
            "zipcode": "2440",
            "city": "Geel",
            "country": "BE",
            "position": {
                "latitude": 51.1638413,
                "longitude": 4.983654
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 27,
                "name": "Brood",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 32,
                "name": "Patisserie",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 35,
                "name": "Speciaal gebak",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 31,
                "name": "Drooggebak",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 34,
                "name": "Worstenbrood & appelbollen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 33,
                "name": "Taarten",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 30,
                "name": "Cake",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 28,
                "name": "Pistolets",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 29,
                "name": "Croissants & koffiekoeken",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 20,
        "name": "Leuris",
        "address": {
            "street": "Molenzijde",
            "nr": "141",
            "zipcode": "2330",
            "city": "Merksplas",
            "country": "BE",
            "position": {
                "latitude": 51.3576801,
                "longitude": 4.8429563
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 120,
                "name": "klein gebak",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 119,
                "name": "worstenbrood",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 117,
                "name": "koffiekoeken",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 116,
                "name": "pistolets",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 73,
                "name": "broden",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 124,
                "name": "boter/slagroomgebak",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 127,
                "name": "vlaaien",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 144,
                "name": "kleine fruittaartjes",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 145,
                "name": "taarten/gelegenheidsgebak",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 22,
        "name": "Bakkerij Den",
        "address": {
            "street": "Troon",
            "nr": "4",
            "zipcode": "2280",
            "city": "Grobbendonk",
            "country": "BE",
            "position": {
                "latitude": 51.1887655,
                "longitude": 4.7400278
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 74,
                "name": "Broden",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 77,
                "name": "Broodjes",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 78,
                "name": "Stokbroden",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 75,
                "name": "Koffiekoeken",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 76,
                "name": "Hartige snack",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 79,
                "name": "Gebakjes (individuele)",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 80,
                "name": "Gebak groot",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 233,
                "name": "Voor al uw feesten",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 83,
                "name": "Pralines en dessertkoekjes",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 84,
                "name": "Diversen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 23,
        "name": "Bakkerij Tuytelaers",
        "address": {
            "street": "Wampenberg",
            "nr": "227",
            "zipcode": "2370",
            "city": "Arendonk",
            "country": "BE",
            "position": {
                "latitude": 51.3336283,
                "longitude": 5.09839
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 90,
                "name": "Brood",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 91,
                "name": "Klein brood / Halfjes",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 92,
                "name": "Pistolets",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 93,
                "name": "Stokbroden",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 96,
                "name": "Croissants",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 94,
                "name": "Koffiekoeken",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 95,
                "name": "Drooggebak ",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 97,
                "name": "Worstenbrood & appelbollen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 99,
                "name": "Cake",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 98,
                "name": "Vlaaien en gebak(1pers)",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 100,
                "name": "Vlaaien  (Groot)",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 101,
                "name": "Biscuit/taarten",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 102,
                "name": "Extra ( slagroom...)",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 113,
                "name": "Pralines",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 103,
                "name": "salades en vleeswaren",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 104,
                "name": "Broodbeleg",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 24,
        "name": "Bakkerij Hermans Sofie",
        "address": {
            "street": "Antwerpsesteenweg",
            "nr": "80",
            "zipcode": "2350",
            "city": "Vosselaar",
            "country": "BE",
            "position": {
                "latitude": 51.3149217,
                "longitude": 4.8883818
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 105,
                "name": "Wit brood",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 106,
                "name": "Bruin brood",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 107,
                "name": "Luxe brood",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 108,
                "name": "Pistolets",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 109,
                "name": "Koffiekoeken,worstebrood en appelbrood",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 110,
                "name": "Droog gebak",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 111,
                "name": "Gebakjes",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 112,
                "name": "Vlaaien",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 131,
                "name": "Taarten",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 132,
                "name": "Pralines en koekjes",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 133,
                "name": "Broodbeleg",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 241,
                "name": "Kerstmis en Nieuwjaar",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 27,
        "name": "Bakkerij Veron",
        "address": {
            "street": "Paardenmarkt",
            "nr": "80",
            "zipcode": "2000",
            "city": "Antwerpen",
            "country": "BE",
            "position": {
                "latitude": 51.2248307,
                "longitude": 4.4121626
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 140,
                "name": "koffiekoeken, croissants en kleingoed",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 139,
                "name": "brood wit",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 134,
                "name": "brood grof",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 138,
                "name": "pistolets en sandwich",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 135,
                "name": "taarten",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 142,
                "name": "speculoos en koekjes",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 141,
                "name": "glutenarm en eiwitarm  op di-do en vr",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 146,
                "name": "belegde broodjes",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 213,
                "name": "Sinterklaas",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 440,
                "name": "drank",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 136,
                "name": "Verloren Maandag",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    }
]

Example response 2 Query existing shop name

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

[
    {
        "id": 1324,
        "name": "The Dough Below",
        "address": {
            "street": "Gielenboulevard",
            "nr": "70",
            "zipcode": "7040",
            "city": "Lessen",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1324/180x180/bakkerij-baeten-opoeteren.jpg",
                        "width": 270,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1324/360x360/bakkerij-baeten-opoeteren.jpg",
                        "width": 450,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 12064,
                "name": "Bisque",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12065,
                "name": "SeaGreen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12066,
                "name": "DarkViolet",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12067,
                "name": "PaleGoldenRod",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12068,
                "name": "Fuchsia",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 1406,
        "name": "The Dough Below",
        "address": {
            "street": "Lefebvrepad",
            "nr": "15",
            "zipcode": "7387",
            "city": "Eupen",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/1406/1300x315/bakkerij-van-acker.jpg",
                        "width": 300,
                        "height": 296
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/1406/900x250/bakkerij-van-acker.jpg",
                        "width": 300,
                        "height": 296
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 12211,
                "name": "PaleGoldenRod",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12212,
                "name": "MediumBlue",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12213,
                "name": "DarkTurquoise",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12215,
                "name": "SteelBlue",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [
            {
                "id": 56,
                "name": "Black Friday"
            }
        ],
        "category_groups": []
    },
    {
        "id": 1715,
        "name": "The Dough Below",
        "address": {
            "street": "Vercammenring",
            "nr": "81",
            "zipcode": "2000",
            "city": "Aalst",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1715/180x180/brood-en-banketbakkerij-k-burez-ronse.jpg",
                        "width": 270,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1715/360x360/brood-en-banketbakkerij-k-burez-ronse.jpg",
                        "width": 450,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 12619,
                "name": "Fuchsia",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 1805,
        "name": "The Dough Below",
        "address": {
            "street": "Louislaan",
            "nr": "37",
            "zipcode": "4432",
            "city": "Oudenburg",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1805/180x180/bakkerij-bekaert.jpg",
                        "width": 270,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1805/360x360/bakkerij-bekaert.jpg",
                        "width": 300,
                        "height": 200
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 12732,
                "name": "Thistle",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 1886,
        "name": "The Dough Below",
        "address": {
            "street": "Antoinepad",
            "nr": "77",
            "zipcode": "9310",
            "city": "Leuven",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 12834,
                "name": "WhiteSmoke",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12835,
                "name": "Peru",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12836,
                "name": "SandyBrown",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12837,
                "name": "CadetBlue",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 12838,
                "name": "Olive",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [
            {
                "id": 86,
                "name": "Black Friday"
            }
        ],
        "category_groups": []
    },
    {
        "id": 1889,
        "name": "The Dough Below",
        "address": {
            "street": "Vermeerschstraat",
            "nr": "70",
            "zipcode": "8850",
            "city": "Diest",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1889/180x180/au-flan-breton-hoeilaart.jpg",
                        "width": 262,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1889/360x360/au-flan-breton-hoeilaart.jpg",
                        "width": 300,
                        "height": 206
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 2012,
        "name": "The Dough Below",
        "address": {
            "street": "Bastinweg",
            "nr": "49",
            "zipcode": "5170",
            "city": "Antwerpen",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/2012/180x180/bakkerij-heidi.jpg",
                        "width": 180,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/2012/360x360/bakkerij-heidi.jpg",
                        "width": 300,
                        "height": 300
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/2012/1300x315/charcuterie-josue-deleu.jpg",
                        "width": 300,
                        "height": 194
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 12992,
                "name": "MediumBlue",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 2116,
        "name": "The Dough Below",
        "address": {
            "street": "Hermanssingel",
            "nr": "73",
            "zipcode": "4280",
            "city": "Mechelen",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/2116/180x180/renard-bakery.jpg",
                        "width": 180,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/2116/360x360/renard-bakery.jpg",
                        "width": 300,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 13128,
                "name": "DarkCyan",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 13129,
                "name": "LawnGreen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 13130,
                "name": "Salmon",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 13133,
                "name": "PaleGreen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [
            {
                "id": 101,
                "name": "Black Friday"
            }
        ],
        "category_groups": []
    }
]

Example response 3 Very long unrealistic query

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

[]

Example response 4 Only coordinates given

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 139

{
    "code": "wrong_combination",
    "message": "Providing coordinates without filtering by distance or sorting by distance is useless"
}

Example response 5 Nearby Ghent, Belgium

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

[
    {
        "id": 1173,
        "name": "Path of Crumbs",
        "address": {
            "street": "Antoineweg",
            "nr": "46",
            "zipcode": "5660",
            "city": "Sankt Vith",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/1173/1300x315/t-pistoleeke-begijnendijk.jpg",
                        "width": 450,
                        "height": 275
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/1173/900x250/t-pistoleeke-begijnendijk.jpg",
                        "width": 450,
                        "height": 275
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 11850,
                "name": "LightSteelBlue",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 11851,
                "name": "Lavender",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 1175,
        "name": "Cake Bakes",
        "address": {
            "street": "Cuvelierring",
            "nr": "21",
            "zipcode": "5555",
            "city": "Bouillon",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1175/180x180/brood-en-zo-ternat.jpg",
                        "width": 180,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1175/360x360/brood-en-zo-ternat.jpg",
                        "width": 300,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 1176,
        "name": "Best Thing Since Sliced Bread",
        "address": {
            "street": "Pironbaan",
            "nr": "24",
            "zipcode": "8660",
            "city": "Leuven",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1176/180x180/culinaire-slagerij-goeminne-mortsel.jpg",
                        "width": 180,
                        "height": 201
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1176/360x360/culinaire-slagerij-goeminne-mortsel.jpg",
                        "width": 269,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 1179,
        "name": "Shop name",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1179/180x180/bakkerij-aernoudt-gent-uz.jpg",
                        "width": 240,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1179/360x360/bakkerij-aernoudt-gent-uz.jpg",
                        "width": 450,
                        "height": 337
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": true,
        "categories": [
            {
                "id": 11855,
                "name": "YellowGreen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 11853,
                "name": "Aqua",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 11854,
                "name": "Fuchsia",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 11852,
                "name": "DarkSeaGreen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": [
            {
                "name": "Group name",
                "category_ids": [
                    11853,
                    11854,
                    11855
                ]
            },
            {
                "name": "Group name 2",
                "category_ids": [
                    11853
                ]
            }
        ]
    },
    {
        "id": 1182,
        "name": "Flour Girl",
        "address": {
            "street": "Claeysbaan",
            "nr": "51",
            "zipcode": "2060",
            "city": "Geel",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1182/v2/180x180/adriaensen-adams-beerse.jpg",
                        "width": 182,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1182/v2/360x360/adriaensen-adams-beerse.jpg",
                        "width": 300,
                        "height": 296
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 1185,
        "name": "The Cookie Cook",
        "address": {
            "street": "Jansenhof",
            "nr": "91",
            "zipcode": "5170",
            "city": "Roeselare",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 1186,
        "name": "Mad Batters",
        "address": {
            "street": "Stevensbaan",
            "nr": "54",
            "zipcode": "4540",
            "city": "Blankenberge",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1186/180x180/bakker-allard.jpg",
                        "width": 338,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1186/360x360/bakker-allard.jpg",
                        "width": 450,
                        "height": 240
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/1186/v2/1300x315/adriaensen-adams-beerse.jpg",
                        "width": 300,
                        "height": 296
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/1186/v2/900x250/adriaensen-adams-beerse.jpg",
                        "width": 300,
                        "height": 296
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 1188,
        "name": "Makes Scents",
        "address": {
            "street": "Verbeeckpad",
            "nr": "27",
            "zipcode": "4219",
            "city": "Blankenberge",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    }
]

Example response 6 Nearby Ghent, Belgium only from given company

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

[
    {
        "id": 2231,
        "name": "The Dough Below",
        "address": {
            "street": "Carlierstraat",
            "nr": "73",
            "zipcode": "7382",
            "city": "Blankenberge",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": true,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/2231/180x180/slagerij-van-de-velde-van-tomme-bestel-en-haal-af.jpg",
                        "width": 180,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/2231/360x360/slagerij-van-de-velde-van-tomme-bestel-en-haal-af.jpg",
                        "width": 300,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    }
]
1.5.0 stable