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=emergency+cake 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=Emergency+Cake&company_id=2988 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: 14655

[
    {
        "id": 1,
        "name": "Bread & Butter",
        "address": {
            "street": "Willemshof",
            "nr": "33",
            "zipcode": "7040",
            "city": "Oostende",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1/180x180/patisserie-ridder-hove.jpg",
                        "width": 183,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/1/360x360/patisserie-ridder-hove.jpg",
                        "width": 300,
                        "height": 295
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/1/1300x315/bakkerij-soetaert.jpg",
                        "width": 300,
                        "height": 237
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 1,
                "name": "Brown",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 2,
                "name": "Tan",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 2,
        "name": "Irresistible Indulgence",
        "address": {
            "street": "Celikring",
            "nr": "19",
            "zipcode": "9200",
            "city": "Brussel",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/2/180x180/bakkerij-van-hecke-waarschoot.png",
                        "width": 270,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/2/360x360/bakkerij-van-hecke-waarschoot.png",
                        "width": 300,
                        "height": 200
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/2/1300x315/bakkerij-arto.jpg",
                        "width": 300,
                        "height": 285
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/2/900x250/bakkerij-arto.jpg",
                        "width": 300,
                        "height": 285
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 3,
        "name": "Flour Power",
        "address": {
            "street": "Christiaensbaan",
            "nr": "10",
            "zipcode": "3800",
            "city": "Antoing",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/3/180x180/bakker-allard.jpg",
                        "width": 338,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/3/360x360/bakker-allard.jpg",
                        "width": 450,
                        "height": 240
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/3/1300x315/brood-en-banket-t-bieke.jpg",
                        "width": 300,
                        "height": 211
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 4,
        "name": "The Torpedough",
        "address": {
            "street": "Gillessingel",
            "nr": "76",
            "zipcode": "5660",
            "city": "Ronse",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/4/180x180/bakkerij-verleysen-aalst.png",
                        "width": 180,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/4/360x360/bakkerij-verleysen-aalst.png",
                        "width": 300,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 5,
        "name": "Dough must go on",
        "address": {
            "street": "Verhaegenweg",
            "nr": "58",
            "zipcode": "5070",
            "city": "Nieuwpoort",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/5/180x180/culemborgs-bakhuis.jpg",
                        "width": 270,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/5/360x360/culemborgs-bakhuis.jpg",
                        "width": 450,
                        "height": 300
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/5/1300x315/bakkerij-hermans-sofie.jpg",
                        "width": 450,
                        "height": 337
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/5/900x250/bakkerij-hermans-sofie.jpg",
                        "width": 450,
                        "height": 337
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 6,
        "name": "Crumbs",
        "address": {
            "street": "Goffinweg",
            "nr": "48",
            "zipcode": "4821",
            "city": "Bouillon",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/6/180x180/bakkerij-van-hecke-drongen.jpg",
                        "width": 266,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/6/360x360/bakkerij-van-hecke-drongen.jpg",
                        "width": 450,
                        "height": 305
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/6/1300x315/bakkerij-ponnet-aalst.jpg",
                        "width": 300,
                        "height": 300
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/6/900x250/bakkerij-ponnet-aalst.jpg",
                        "width": 300,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 7,
        "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/7/180x180/klasseslager-de-looze.jpg",
                        "width": 218,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/7/360x360/klasseslager-de-looze.jpg",
                        "width": 300,
                        "height": 248
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/7/1300x315/bakkerij-aernoudt-lochristi.jpg",
                        "width": 450,
                        "height": 337
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/7/900x250/bakkerij-aernoudt-lochristi.jpg",
                        "width": 450,
                        "height": 337
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": true,
        "categories": [
            {
                "id": 6,
                "name": "Chartreuse",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 3,
                "name": "Ivory",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 4,
                "name": "DarkOrchid",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 5,
                "name": "IndianRed",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": [
            {
                "name": "Group name",
                "category_ids": [
                    4,
                    5,
                    6
                ]
            },
            {
                "name": "Group name",
                "category_ids": [
                    4,
                    5,
                    6
                ]
            },
            {
                "name": "Group name 2",
                "category_ids": [
                    4
                ]
            }
        ]
    },
    {
        "id": 8,
        "name": "The Pastry Sheet",
        "address": {
            "street": "Lefebvrebaan",
            "nr": "76",
            "zipcode": "5170",
            "city": "Saint-Ghislain",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/8/180x180/slagerij-kris.jpg",
                        "width": 201,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/8/360x360/slagerij-kris.jpg",
                        "width": 300,
                        "height": 269
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 3,
                "name": "Ivory",
                "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: 17535

[
    {
        "id": 26,
        "name": "Emergency Cake",
        "address": {
            "street": "Thysstraat",
            "nr": "13",
            "zipcode": "2490",
            "city": "Maaseik",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/26/180x180/bakkerij-buyle.jpg",
                        "width": 215,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/26/360x360/bakkerij-buyle.jpg",
                        "width": 300,
                        "height": 251
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 21,
                "name": "Crimson",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 68,
        "name": "Emergency Cake",
        "address": {
            "street": "Vervoortsteeg",
            "nr": "76",
            "zipcode": "6880",
            "city": "Geldenaken",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/68/180x180/bakkerij-melice.jpg",
                        "width": 255,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/68/360x360/bakkerij-melice.jpg",
                        "width": 300,
                        "height": 212
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/68/1300x315/au-flan-breton-tervuren.jpg",
                        "width": 300,
                        "height": 206
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 84,
                "name": "DarkSalmon",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 85,
                "name": "DarkSeaGreen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 86,
                "name": "MediumBlue",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 87,
                "name": "Gainsboro",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 88,
                "name": "DimGrey",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": [
            {
                "name": "",
                "category_ids": [
                    84
                ]
            },
            {
                "name": "",
                "category_ids": [
                    85
                ]
            },
            {
                "name": "",
                "category_ids": [
                    86
                ]
            },
            {
                "name": "",
                "category_ids": [
                    87
                ]
            }
        ]
    },
    {
        "id": 91,
        "name": "Emergency Cake",
        "address": {
            "street": "Messaoudisingel",
            "nr": "44",
            "zipcode": "7800",
            "city": "Beauraing",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/91/180x180/bakkerij-de-pourcq-astene.jpg",
                        "width": 180,
                        "height": 182
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/91/360x360/bakkerij-de-pourcq-astene.jpg",
                        "width": 297,
                        "height": 300
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/91/1300x315/bakkerij-koelen-hasselt.jpg",
                        "width": 300,
                        "height": 262
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/91/900x250/bakkerij-koelen-hasselt.jpg",
                        "width": 300,
                        "height": 262
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 94,
        "name": "Emergency Cake",
        "address": {
            "street": "Hubertboulevard",
            "nr": "32",
            "zipcode": "2099",
            "city": "Sint-Truiden",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/94/180x180/bakkerij-kris-waarschoot.jpg",
                        "width": 270,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/94/360x360/bakkerij-kris-waarschoot.jpg",
                        "width": 450,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 108,
                "name": "MintCream",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 109,
                "name": "GreenYellow",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 110,
                "name": "MediumSlateBlue",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 111,
                "name": "MediumAquaMarine",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 112,
                "name": "ForestGreen",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [
            {
                "id": 4,
                "name": "Black Friday"
            }
        ],
        "category_groups": []
    },
    {
        "id": 105,
        "name": "Emergency Cake",
        "address": {
            "street": "Verhaegenlaan",
            "nr": "95",
            "zipcode": "4540",
            "city": "Peer",
            "country": "BE",
            "position": {
                "latitude": 50.8503396,
                "longitude": 4.3517103
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/105/180x180/brood-en-banket-okoro.png",
                        "width": 180,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/105/360x360/brood-en-banket-okoro.png",
                        "width": 223,
                        "height": 223
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/105/1300x315/bakkerij-baeten-maaseik.jpg",
                        "width": 300,
                        "height": 200
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 144,
                "name": "MintCream",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 117,
        "name": "Emergency Cake",
        "address": {
            "street": "De Greeflaan",
            "nr": "13",
            "zipcode": "4557",
            "city": "Spa",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/117/180x180/bakkerij-elly-lint.jpg",
                        "width": 184,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/117/360x360/bakkerij-elly-lint.jpg",
                        "width": 300,
                        "height": 293
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 157,
                "name": "DarkTurquoise",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 158,
                "name": "OldLace",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 159,
                "name": "Aquamarine",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 162,
                "name": "Plum",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 163,
                "name": "Darkorange",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 164,
                "name": "Magenta",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 165,
                "name": "Bisque",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 166,
                "name": "Black",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 169,
        "name": "Emergency Cake",
        "address": {
            "street": "Michauxbaan",
            "nr": "76",
            "zipcode": "8531",
            "city": "Deinze",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/169/180x180/bakkerij-tompoes.jpg",
                        "width": 270,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/169/360x360/bakkerij-tompoes.jpg",
                        "width": 450,
                        "height": 300
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/169/1300x315/bakkerij-krilien.jpg",
                        "width": 300,
                        "height": 300
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/169/900x250/bakkerij-krilien.jpg",
                        "width": 300,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 236,
                "name": "Wheat",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://bakeronline.be/uploads/temp-uploads/v7/test.png",
                            "width": 700,
                            "height": 467
                        }
                    ]
                },
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 174,
        "name": "Emergency Cake",
        "address": {
            "street": "Bodartlaan",
            "nr": "12",
            "zipcode": "6860",
            "city": "Fontaine-l'Evêque",
            "country": "BE",
            "position": {
                "latitude": 51.260197,
                "longitude": 4.402771
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 241,
                "name": "OliveDrab",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "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: 11770

[
    {
        "id": 4,
        "name": "The Torpedough",
        "address": {
            "street": "Gillessingel",
            "nr": "76",
            "zipcode": "5660",
            "city": "Ronse",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/4/180x180/bakkerij-verleysen-aalst.png",
                        "width": 180,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/4/360x360/bakkerij-verleysen-aalst.png",
                        "width": 300,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 6,
        "name": "Crumbs",
        "address": {
            "street": "Goffinweg",
            "nr": "48",
            "zipcode": "4821",
            "city": "Bouillon",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/6/180x180/bakkerij-van-hecke-drongen.jpg",
                        "width": 266,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/6/360x360/bakkerij-van-hecke-drongen.jpg",
                        "width": 450,
                        "height": 305
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/6/1300x315/bakkerij-ponnet-aalst.jpg",
                        "width": 300,
                        "height": 300
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/6/900x250/bakkerij-ponnet-aalst.jpg",
                        "width": 300,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 7,
        "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/7/180x180/klasseslager-de-looze.jpg",
                        "width": 218,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/7/360x360/klasseslager-de-looze.jpg",
                        "width": 300,
                        "height": 248
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/7/1300x315/bakkerij-aernoudt-lochristi.jpg",
                        "width": 450,
                        "height": 337
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/7/900x250/bakkerij-aernoudt-lochristi.jpg",
                        "width": 450,
                        "height": 337
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": true,
        "categories": [
            {
                "id": 6,
                "name": "Chartreuse",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 3,
                "name": "Ivory",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 4,
                "name": "DarkOrchid",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            },
            {
                "id": 5,
                "name": "IndianRed",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": [
            {
                "name": "Group name",
                "category_ids": [
                    4,
                    5,
                    6
                ]
            },
            {
                "name": "Group name",
                "category_ids": [
                    4,
                    5,
                    6
                ]
            },
            {
                "name": "Group name 2",
                "category_ids": [
                    4
                ]
            }
        ]
    },
    {
        "id": 8,
        "name": "The Pastry Sheet",
        "address": {
            "street": "Lefebvrebaan",
            "nr": "76",
            "zipcode": "5170",
            "city": "Saint-Ghislain",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/8/180x180/slagerij-kris.jpg",
                        "width": 201,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/8/360x360/slagerij-kris.jpg",
                        "width": 300,
                        "height": 269
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 3,
                "name": "Ivory",
                "banner": null,
                "seo": {
                    "title": [],
                    "description": [],
                    "url": []
                }
            }
        ],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 11,
        "name": "Mad Batters",
        "address": {
            "street": "Devossteeg",
            "nr": "83",
            "zipcode": "4260",
            "city": "Mechelen",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/11/180x180/adriaensen-adams-beerse.jpg",
                        "width": 182,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/11/360x360/adriaensen-adams-beerse.jpg",
                        "width": 300,
                        "height": 296
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 12,
        "name": "Flour Girl",
        "address": {
            "street": "Stevensstraat",
            "nr": "86",
            "zipcode": "2370",
            "city": "Beauraing",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {},
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 14,
        "name": "Ahead of Bread",
        "address": {
            "street": "Vandenberghepad",
            "nr": "19",
            "zipcode": "1390",
            "city": "Lokeren",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/14/180x180/bakkerij-deloof.jpg",
                        "width": 240,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/14/360x360/bakkerij-deloof.jpg",
                        "width": 450,
                        "height": 337
                    }
                ]
            },
            "banner": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/banner/14/1300x315/adriaensen-adams-beerse.jpg",
                        "width": 300,
                        "height": 296
                    },
                    {
                        "src": "https://bakeronline.be/uploads/banner/14/900x250/adriaensen-adams-beerse.jpg",
                        "width": 300,
                        "height": 296
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    },
    {
        "id": 15,
        "name": "Best Thing Since Sliced Bread",
        "address": {
            "street": "Somerslaan",
            "nr": "63",
            "zipcode": "7331",
            "city": "Zoutleeuw",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "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: 1195

[
    {
        "id": 3120,
        "name": "Emergency Cake",
        "address": {
            "street": "Van den Broeckdreef",
            "nr": "20",
            "zipcode": "5544",
            "city": "Hannuit",
            "country": "BE",
            "position": {
                "latitude": 51.05,
                "longitude": 3.71667
            }
        },
        "allow_comments": false,
        "currency": "EUR",
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/3120/180x180/patisserie-manus-kapellen.jpg",
                        "width": 270,
                        "height": 180
                    },
                    {
                        "src": "https://bakeronline.be/uploads/shop-avatars/3120/360x360/patisserie-manus-kapellen.jpg",
                        "width": 450,
                        "height": 300
                    }
                ]
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [],
        "offers": [],
        "category_groups": []
    }
]
Version update available Please adjust your integration to the latest stable version (1.5.2)
1.5.0 stable