Get all shops of a company

GET /company/@id/shops

Request

URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
id Int ID of the company to return shops from

Example request 1

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

Response

Maximum 20. Array of Shop.extended: [Shop.extended]

Shop.extended

Field Type Description
id Int Id of the shop
name String Name of the shop (translated)
address Address.detailed An address
offers [Offer.simple] Array of Offer.simple
images [String: Image] Dictionary of Image with keys of type String
allow_comments Bool A boolean value
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.
hours [MethodHours] Information about the opening hours, delivery hours... for all available methods and machines
contact Contact Contact details of a shop
messages [Message] You are required to keep track of the messages the user saw. When you receive new messages, you should indicate this in the app with a bubble icon (e.g. red circle with number of new messages)
info [Message] Same as messages, but you shouldn't notify the user when this changes or is received for the first time
currency Currency 3 letter ISO 4217 currency name (string)

Example response 1

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

[
    {
        "id": 11,
        "name": "Mrs. Adele Sanford",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE",
            "position": {
                "latitude": 1.54361,
                "longitude": 0.45645
            }
        },
        "offers": [
            {
                "id": 19,
                "name": "Black Friday"
            },
            {
                "id": 16,
                "name": "Black Friday"
            },
            {
                "id": 17,
                "name": "Black Friday"
            }
        ],
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    }
                ],
                "white_background": false
            }
        },
        "allow_comments": false,
        "allow_orders": true,
        "delivery_use_intervals": true,
        "categories": [
            {
                "id": 18,
                "name": "Mariano Schmitt MD",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Animi voluptatem voluptatem ipsum earum voluptate placeat non sunt sed."
                    },
                    "description": {
                        "en": "Eum molestias ut culpa sapiente ut. Libero eos quia ut vel sit doloribus. Voluptas aut dolor tempore repellat voluptatem animi hic. Velit nulla odio quia ut."
                    },
                    "url": {
                        "en": "http://www.reinger.org/in-commodi-inventore-ipsam.html"
                    }
                }
            },
            {
                "id": 14,
                "name": "Watson Padberg",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Maxime labore quod cumque nihil asperiores."
                    },
                    "description": {
                        "en": "Mollitia consequatur qui corrupti. Voluptas dolores qui ullam. Ipsum mollitia rem amet veniam."
                    },
                    "url": {
                        "en": "http://koelpin.com/tempora-dolore-eveniet-eos-quasi-quibusdam-earum-eligendi.html"
                    }
                }
            },
            {
                "id": 13,
                "name": "Ed Moen",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Et eum dolorum inventore et eos dolores autem vero et."
                    },
                    "description": {
                        "en": "Minus nostrum occaecati quae dolor sit possimus labore id. Culpa magnam recusandae quam et omnis ratione sit. Labore molestias delectus dolores ut deleniti."
                    },
                    "url": {
                        "en": "http://boyle.info/quos-asperiores-ea-corrupti-distinctio-ut-similique-unde"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": "...",
                "category_ids": [
                    11,
                    11,
                    13
                ]
            },
            {
                "name": "...",
                "category_ids": [
                    16,
                    19,
                    10
                ]
            },
            {
                "name": "...",
                "category_ids": [
                    16,
                    16,
                    10
                ]
            }
        ],
        "hours": [
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "07:29 - 15:31",
                            "07:29 - 15:31",
                            "07:29 - 15:31"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:42 - 21:15",
                            "09:42 - 21:15",
                            "09:42 - 21:15"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:38 - 16:30",
                            "06:38 - 16:30",
                            "06:38 - 16:30"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "09:42 - 19:44",
                            "09:42 - 19:44",
                            "09:42 - 19:44"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:52 - 21:48",
                            "09:52 - 21:48",
                            "09:52 - 21:48"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:44 - 12:11",
                            "09:44 - 12:11",
                            "09:44 - 12:11"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "06:53 - 14:20",
                            "06:53 - 14:20",
                            "06:53 - 14:20"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:43 - 17:27",
                            "08:43 - 17:27",
                            "08:43 - 17:27"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:25 - 21:38",
                            "09:25 - 21:38",
                            "09:25 - 21:38"
                        ]
                    }
                ]
            }
        ],
        "contact": {
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "telephone": "+32 475 00 00 00",
            "vat": "BE0123.456.789",
            "social": {
                "facebook": "https://example.com",
                "twitter": "https://example.com",
                "snapchat": "https://example.com",
                "instagram": "https://example.com",
                "pinterest": "https://example.com",
                "youtube": "https://example.com"
            },
            "website": "https://example.com",
            "email": "example@domain.com"
        },
        "messages": [
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            }
        ],
        "info": [
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            }
        ],
        "currency": "EUR"
    },
    {
        "id": 16,
        "name": "Dr. Reilly Gerhold I",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE",
            "position": {
                "latitude": 1.54361,
                "longitude": 0.45645
            }
        },
        "offers": [
            {
                "id": 12,
                "name": "Black Friday"
            },
            {
                "id": 11,
                "name": "Black Friday"
            },
            {
                "id": 10,
                "name": "Black Friday"
            }
        ],
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    }
                ],
                "white_background": true
            }
        },
        "allow_comments": false,
        "allow_orders": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 17,
                "name": "Maude McClure II",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Ducimus vel voluptates et amet rerum velit."
                    },
                    "description": {
                        "en": "Inventore voluptatem et enim ut magni. Nulla maxime et eligendi consequuntur quo praesentium. Tempore sunt aut facilis. Beatae libero doloribus distinctio qui aliquid accusamus et."
                    },
                    "url": {
                        "en": "http://mertz.com/"
                    }
                }
            },
            {
                "id": 12,
                "name": "Ezekiel Abbott",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Facilis voluptas rerum omnis veritatis omnis sed."
                    },
                    "description": {
                        "en": "Voluptatem iure rem odit vel dolor. Impedit voluptatem reiciendis a similique. Nobis enim molestiae officiis id maxime voluptatem."
                    },
                    "url": {
                        "en": "http://www.casper.info/atque-repellendus-tempora-tempore-corporis-laborum.html"
                    }
                }
            },
            {
                "id": 16,
                "name": "Karlee Crooks",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Eveniet facilis praesentium voluptas sit consequuntur et velit dolorum."
                    },
                    "description": {
                        "en": "Autem consequatur enim voluptas nulla. Quia ut fuga debitis rerum necessitatibus nisi recusandae. Magnam sit et sunt delectus unde quasi nemo. Quod ipsam accusamus sed rerum facilis dolor."
                    },
                    "url": {
                        "en": "http://www.ortiz.com/consequuntur-sed-aut-sint-est-omnis"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": "...",
                "category_ids": [
                    11,
                    13,
                    15
                ]
            },
            {
                "name": "...",
                "category_ids": [
                    10,
                    12,
                    13
                ]
            },
            {
                "name": "...",
                "category_ids": [
                    17,
                    15,
                    13
                ]
            }
        ],
        "hours": [
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "09:59 - 15:20",
                            "09:59 - 15:20",
                            "09:59 - 15:20"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "07:49 - 15:12",
                            "07:49 - 15:12",
                            "07:49 - 15:12"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "07:53 - 21:28",
                            "07:53 - 21:28",
                            "07:53 - 21:28"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "07:32 - 11:50",
                            "07:32 - 11:50",
                            "07:32 - 11:50"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:45 - 19:18",
                            "06:45 - 19:18",
                            "06:45 - 19:18"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:24 - 20:17",
                            "06:24 - 20:17",
                            "06:24 - 20:17"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "07:31 - 18:40",
                            "07:31 - 18:40",
                            "07:31 - 18:40"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "07:18 - 14:48",
                            "07:18 - 14:48",
                            "07:18 - 14:48"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "07:18 - 18:47",
                            "07:18 - 18:47",
                            "07:18 - 18:47"
                        ]
                    }
                ]
            }
        ],
        "contact": {
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "telephone": "+32 475 00 00 00",
            "vat": "BE0123.456.789",
            "social": {
                "facebook": "https://example.com",
                "twitter": "https://example.com",
                "snapchat": "https://example.com",
                "instagram": "https://example.com",
                "pinterest": "https://example.com",
                "youtube": "https://example.com"
            },
            "website": "https://example.com",
            "email": "example@domain.com"
        },
        "messages": [
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            }
        ],
        "info": [
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            }
        ],
        "currency": "EUR"
    },
    {
        "id": 10,
        "name": "Mrs. Anais Schoen",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE",
            "position": {
                "latitude": 1.54361,
                "longitude": 0.45645
            }
        },
        "offers": [
            {
                "id": 19,
                "name": "Black Friday"
            },
            {
                "id": 19,
                "name": "Black Friday"
            },
            {
                "id": 10,
                "name": "Black Friday"
            }
        ],
        "images": {
            "avatar": {
                "resolutions": [
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    }
                ],
                "white_background": false
            }
        },
        "allow_comments": true,
        "allow_orders": false,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 12,
                "name": "Valentin Thiel I",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Voluptatum accusamus enim qui sunt rerum quidem reprehenderit."
                    },
                    "description": {
                        "en": "Veritatis quisquam est voluptates tempora. Dolores amet aut provident quia. Id officiis quae et velit hic. Neque quia repudiandae est sunt ut qui. Est ut qui et."
                    },
                    "url": {
                        "en": "https://www.schmidt.org/ea-occaecati-exercitationem-assumenda-veritatis"
                    }
                }
            },
            {
                "id": 14,
                "name": "Audie Fahey DDS",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Ipsa aliquid hic ut ut omnis similique cum rerum."
                    },
                    "description": {
                        "en": "Excepturi quisquam architecto iure. In illum est dolor aspernatur eos. Ut corporis ipsam architecto facere rerum recusandae. Voluptatem sed eaque est perspiciatis qui commodi qui."
                    },
                    "url": {
                        "en": "http://medhurst.com/voluptatem-in-itaque-dolor-dignissimos.html"
                    }
                }
            },
            {
                "id": 19,
                "name": "Teresa Runolfsdottir",
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Eius amet ratione quasi rerum incidunt."
                    },
                    "description": {
                        "en": "Voluptatem et at culpa quia. Iure repellendus qui tempora quisquam. Porro velit velit vel id sit et. Reiciendis velit impedit temporibus dolores possimus."
                    },
                    "url": {
                        "en": "http://kerluke.com/"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": "...",
                "category_ids": [
                    12,
                    16,
                    11
                ]
            },
            {
                "name": "...",
                "category_ids": [
                    17,
                    17,
                    10
                ]
            },
            {
                "name": "...",
                "category_ids": [
                    16,
                    14,
                    18
                ]
            }
        ],
        "hours": [
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "06:53 - 17:45",
                            "06:53 - 17:45",
                            "06:53 - 17:45"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:21 - 13:27",
                            "06:21 - 13:27",
                            "06:21 - 13:27"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:27 - 15:52",
                            "08:27 - 15:52",
                            "08:27 - 15:52"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "08:55 - 16:14",
                            "08:55 - 16:14",
                            "08:55 - 16:14"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:17 - 12:29",
                            "08:17 - 12:29",
                            "08:17 - 12:29"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:51 - 18:11",
                            "09:51 - 18:11",
                            "09:51 - 18:11"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "09:16 - 16:53",
                            "09:16 - 16:53",
                            "09:16 - 16:53"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:33 - 11:41",
                            "08:33 - 11:41",
                            "08:33 - 11:41"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:58 - 13:20",
                            "06:58 - 13:20",
                            "06:58 - 13:20"
                        ]
                    }
                ]
            }
        ],
        "contact": {
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "telephone": "+32 475 00 00 00",
            "vat": "BE0123.456.789",
            "social": {
                "facebook": "https://example.com",
                "twitter": "https://example.com",
                "snapchat": "https://example.com",
                "instagram": "https://example.com",
                "pinterest": "https://example.com",
                "youtube": "https://example.com"
            },
            "website": "https://example.com",
            "email": "example@domain.com"
        },
        "messages": [
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            }
        ],
        "info": [
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            },
            {
                "name": "...",
                "title": "...",
                "text": "...",
                "type": "HTML"
            }
        ],
        "currency": "EUR"
    }
]
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.4.0 stable