GET /company/@id/shops
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 |
GET /company/15/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Maximum 20. Array of 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 |
allow_comments | Bool | A boolean value |
offers | [Offer.simple] | Array of Offer.simple |
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. |
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) |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 33250
[
{
"id": 14,
"name": "Heber Hoppe",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"offers": [
{
"id": 17,
"name": "Black Friday"
},
{
"id": 18,
"name": "Black Friday"
},
{
"id": 13,
"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_orders": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 16,
"name": "Mr. Leopoldo Ryan V",
"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": "Perspiciatis et porro maxime commodi officiis et ea autem rem laboriosam."
},
"description": {
"en": "Consequatur rerum debitis labore. Iste dolorum ipsa alias quae eum. Et quia voluptas sunt illum quo."
},
"url": {
"en": "http://maggio.net/molestias-illum-velit-praesentium-ratione"
}
}
},
{
"id": 12,
"name": "Eldridge Anderson",
"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": "Vero ducimus pariatur sint et aut."
},
"description": {
"en": "Rerum unde nemo commodi et assumenda quod animi. Laboriosam sed architecto asperiores tempore. Optio enim velit ea ea porro architecto assumenda. Id omnis illum aut est alias iusto voluptatem."
},
"url": {
"en": "https://stracke.com/sed-sit-ut-ducimus-et-veritatis-eos-omnis.html"
}
}
},
{
"id": 17,
"name": "Rosie Ullrich",
"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": "Impedit est voluptatem sequi vero cupiditate dolorum."
},
"description": {
"en": "Voluptatem eaque nobis suscipit dolorem vel rerum molestiae earum. Cupiditate quis similique itaque. Animi laborum error magnam. Ut est ea illo labore."
},
"url": {
"en": "https://www.zulauf.com/in-aut-ut-in-laboriosam-ea-nihil-laudantium-distinctio"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
15,
12,
17
]
},
{
"name": "...",
"category_ids": [
15,
10,
19
]
},
{
"name": "...",
"category_ids": [
12,
14,
14
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:12 - 21:34",
"06:12 - 21:34",
"06:12 - 21:34"
]
},
{
"days": "5",
"times": [
"09:26 - 15:47",
"09:26 - 15:47",
"09:26 - 15:47"
]
},
{
"days": "5",
"times": [
"08:18 - 21:55",
"08:18 - 21:55",
"08:18 - 21:55"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:17 - 19:21",
"08:17 - 19:21",
"08:17 - 19:21"
]
},
{
"days": "5",
"times": [
"09:15 - 21:52",
"09:15 - 21:52",
"09:15 - 21:52"
]
},
{
"days": "5",
"times": [
"08:33 - 10:50",
"08:33 - 10:50",
"08:33 - 10:50"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:30 - 21:22",
"06:30 - 21:22",
"06:30 - 21:22"
]
},
{
"days": "5",
"times": [
"06:35 - 16:33",
"06:35 - 16:33",
"06:35 - 16:33"
]
},
{
"days": "5",
"times": [
"09:28 - 17:10",
"09:28 - 17:10",
"09:28 - 17:10"
]
}
]
}
],
"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": 15,
"name": "Rosemarie Ondricka",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"offers": [
{
"id": 11,
"name": "Black Friday"
},
{
"id": 17,
"name": "Black Friday"
},
{
"id": 14,
"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_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 12,
"name": "Malika Sporer",
"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": "Libero sint sit quia aut voluptas perspiciatis velit pariatur facere aut commodi."
},
"description": {
"en": "Dolores error molestias numquam et eligendi. Tenetur excepturi inventore eos repellat sint. Nemo consectetur magni itaque adipisci odio."
},
"url": {
"en": "https://ortiz.biz/vel-assumenda-nam-iste-et-aut-minus.html"
}
}
},
{
"id": 15,
"name": "Trisha Crona",
"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": "Est et accusantium aut illum blanditiis reiciendis et eveniet tempore."
},
"description": {
"en": "Officia error modi rerum. Sint iusto qui ducimus dignissimos beatae voluptate non asperiores."
},
"url": {
"en": "http://www.mante.org/ipsa-quibusdam-ab-dolorem-aspernatur-nulla-veritatis-molestiae-nihil.html"
}
}
},
{
"id": 12,
"name": "Madaline Emard",
"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": "Ipsum consequuntur voluptate tempora voluptates modi ex fugiat non."
},
"description": {
"en": "Commodi impedit sint dolor saepe accusamus. Voluptate neque magni magni. Suscipit perferendis magnam quis consequatur unde in aut. Fugiat eos repellendus aut ut hic sit."
},
"url": {
"en": "http://www.yundt.com/quos-et-at-numquam-nam-qui"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
16,
14,
12
]
},
{
"name": "...",
"category_ids": [
15,
14,
10
]
},
{
"name": "...",
"category_ids": [
17,
17,
15
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:32 - 13:34",
"08:32 - 13:34",
"08:32 - 13:34"
]
},
{
"days": "5",
"times": [
"07:16 - 10:36",
"07:16 - 10:36",
"07:16 - 10:36"
]
},
{
"days": "5",
"times": [
"07:14 - 14:51",
"07:14 - 14:51",
"07:14 - 14:51"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:38 - 19:52",
"07:38 - 19:52",
"07:38 - 19:52"
]
},
{
"days": "5",
"times": [
"06:52 - 20:34",
"06:52 - 20:34",
"06:52 - 20:34"
]
},
{
"days": "5",
"times": [
"08:20 - 18:24",
"08:20 - 18:24",
"08:20 - 18:24"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:30 - 19:27",
"06:30 - 19:27",
"06:30 - 19:27"
]
},
{
"days": "5",
"times": [
"09:27 - 11:47",
"09:27 - 11:47",
"09:27 - 11:47"
]
},
{
"days": "5",
"times": [
"09:41 - 13:38",
"09:41 - 13:38",
"09:41 - 13: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": "Marisa Considine Sr.",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"offers": [
{
"id": 16,
"name": "Black Friday"
},
{
"id": 18,
"name": "Black Friday"
},
{
"id": 15,
"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_orders": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 12,
"name": "Velma Marvin DVM",
"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": "Minima cum veniam corporis qui rerum sunt."
},
"description": {
"en": "In maiores in voluptatibus consequatur dolorum dolores sed. Amet totam consequatur autem magnam. Ducimus qui laboriosam consequatur qui rem."
},
"url": {
"en": "http://kuhic.com/"
}
}
},
{
"id": 15,
"name": "Eleanore Douglas",
"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": "Vero distinctio ipsam omnis amet quam id fugit eaque est ex ratione."
},
"description": {
"en": "Dolore enim quod velit cumque beatae. Consequatur sapiente ut et accusantium consequatur. Nihil eum nihil id dignissimos aliquam. Qui blanditiis ut qui qui."
},
"url": {
"en": "http://nicolas.org/"
}
}
},
{
"id": 16,
"name": "Titus Conn 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": false
},
"seo": {
"title": {
"en": "Labore et quae autem minus sed ullam voluptas."
},
"description": {
"en": "Unde praesentium libero voluptatibus. Sit voluptatibus facilis perferendis. Sunt temporibus aliquid voluptates repudiandae dolorem neque quia."
},
"url": {
"en": "http://www.funk.org/"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
10,
15,
10
]
},
{
"name": "...",
"category_ids": [
16,
12,
12
]
},
{
"name": "...",
"category_ids": [
16,
15,
10
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:35 - 19:50",
"06:35 - 19:50",
"06:35 - 19:50"
]
},
{
"days": "5",
"times": [
"09:56 - 21:45",
"09:56 - 21:45",
"09:56 - 21:45"
]
},
{
"days": "5",
"times": [
"06:19 - 11:16",
"06:19 - 11:16",
"06:19 - 11:16"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:50 - 20:22",
"07:50 - 20:22",
"07:50 - 20:22"
]
},
{
"days": "5",
"times": [
"07:40 - 12:57",
"07:40 - 12:57",
"07:40 - 12:57"
]
},
{
"days": "5",
"times": [
"08:24 - 15:45",
"08:24 - 15:45",
"08:24 - 15:45"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:55 - 11:47",
"06:55 - 11:47",
"06:55 - 11:47"
]
},
{
"days": "5",
"times": [
"08:44 - 13:47",
"08:44 - 13:47",
"08:44 - 13:47"
]
},
{
"days": "5",
"times": [
"08:30 - 10:23",
"08:30 - 10:23",
"08:30 - 10:23"
]
}
]
}
],
"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"
}
]