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/13/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: 33448
[
{
"id": 19,
"name": "Dr. Xander Howell",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"offers": [
{
"id": 18,
"name": "Black Friday"
},
{
"id": 11,
"name": "Black Friday"
},
{
"id": 18,
"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": false,
"delivery_use_intervals": false,
"categories": [
{
"id": 16,
"name": "Flossie Schultz",
"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": "Reprehenderit explicabo sit voluptatem doloremque sed rerum non nam."
},
"description": {
"en": "Ratione perferendis voluptatem autem sapiente asperiores rerum molestiae necessitatibus. Provident aliquid distinctio enim officiis vero aliquid. Ea distinctio iusto et fuga."
},
"url": {
"en": "http://www.kreiger.com/tenetur-ab-illum-ratione-nulla"
}
}
},
{
"id": 11,
"name": "Ezekiel Mohr",
"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": "Nemo laborum et et possimus magni cumque dolorem."
},
"description": {
"en": "Aut in aut rerum nobis aut inventore. Velit ut et nemo placeat ut rerum. Error vel voluptatem rerum fugit rerum aliquam repellendus."
},
"url": {
"en": "http://www.walter.com/voluptatem-unde-modi-molestiae-reprehenderit-deserunt-et-voluptates"
}
}
},
{
"id": 14,
"name": "Alysha Hammes",
"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 commodi dolorem tempora sint incidunt laboriosam."
},
"description": {
"en": "Magnam et aut quo accusantium ex laboriosam voluptas. Odio ratione debitis et similique neque."
},
"url": {
"en": "https://greenfelder.net/dolor-quod-iste-adipisci-ut-dignissimos-voluptas-aut.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
14,
12,
14
]
},
{
"name": "...",
"category_ids": [
14,
11,
14
]
},
{
"name": "...",
"category_ids": [
10,
13,
14
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:30 - 14:49",
"06:30 - 14:49",
"06:30 - 14:49"
]
},
{
"days": "5",
"times": [
"06:28 - 20:29",
"06:28 - 20:29",
"06:28 - 20:29"
]
},
{
"days": "5",
"times": [
"07:20 - 13:18",
"07:20 - 13:18",
"07:20 - 13:18"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:54 - 16:41",
"09:54 - 16:41",
"09:54 - 16:41"
]
},
{
"days": "5",
"times": [
"09:33 - 10:28",
"09:33 - 10:28",
"09:33 - 10:28"
]
},
{
"days": "5",
"times": [
"08:57 - 16:48",
"08:57 - 16:48",
"08:57 - 16:48"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:51 - 15:42",
"08:51 - 15:42",
"08:51 - 15:42"
]
},
{
"days": "5",
"times": [
"09:20 - 20:26",
"09:20 - 20:26",
"09:20 - 20:26"
]
},
{
"days": "5",
"times": [
"07:52 - 18:19",
"07:52 - 18:19",
"07:52 - 18:19"
]
}
]
}
],
"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": 11,
"name": "Ms. Mariela Tremblay II",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"offers": [
{
"id": 13,
"name": "Black Friday"
},
{
"id": 11,
"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": false,
"delivery_use_intervals": false,
"categories": [
{
"id": 17,
"name": "Arnaldo Spencer",
"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": "Recusandae id nulla ipsum tenetur quibusdam ut recusandae aliquam."
},
"description": {
"en": "Accusamus est dolor qui perferendis. Et veniam sed sapiente numquam. Dicta et enim error molestiae. Unde velit aut veritatis id quas."
},
"url": {
"en": "http://www.torp.net/voluptate-minima-omnis-nisi-et-cumque-vitae-temporibus-pariatur"
}
}
},
{
"id": 11,
"name": "Mathias Mante",
"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": "Perferendis modi dolorem impedit qui voluptas totam sequi quia reiciendis."
},
"description": {
"en": "Minima porro dicta non vero. Labore molestias nemo voluptatem aspernatur molestias. Nisi fugit non id at et id."
},
"url": {
"en": "https://padberg.com/vel-fugit-incidunt-et-corporis-incidunt.html"
}
}
},
{
"id": 11,
"name": "Mrs. Destiny Carroll 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": "Tempora quisquam a ullam sunt libero cum voluptas et."
},
"description": {
"en": "Vel aut tenetur ullam omnis. Fuga corporis magnam eius non numquam eum in quod. Quisquam sint ea quis doloremque aut. Sed molestias dolorem temporibus sit quisquam rerum."
},
"url": {
"en": "http://raynor.info/qui-voluptas-ut-optio-eius-et-atque-iste.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
10,
17,
19
]
},
{
"name": "...",
"category_ids": [
19,
10,
10
]
},
{
"name": "...",
"category_ids": [
18,
18,
13
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:36 - 14:38",
"09:36 - 14:38",
"09:36 - 14:38"
]
},
{
"days": "5",
"times": [
"07:19 - 12:43",
"07:19 - 12:43",
"07:19 - 12:43"
]
},
{
"days": "5",
"times": [
"08:23 - 13:32",
"08:23 - 13:32",
"08:23 - 13:32"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:20 - 14:20",
"07:20 - 14:20",
"07:20 - 14:20"
]
},
{
"days": "5",
"times": [
"06:34 - 16:56",
"06:34 - 16:56",
"06:34 - 16:56"
]
},
{
"days": "5",
"times": [
"08:55 - 13:11",
"08:55 - 13:11",
"08:55 - 13:11"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:52 - 21:16",
"06:52 - 21:16",
"06:52 - 21:16"
]
},
{
"days": "5",
"times": [
"06:24 - 20:57",
"06:24 - 20:57",
"06:24 - 20:57"
]
},
{
"days": "5",
"times": [
"07:35 - 14:40",
"07:35 - 14:40",
"07:35 - 14:40"
]
}
]
}
],
"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": 17,
"name": "Dr. Grayson Wisoky DDS",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"offers": [
{
"id": 14,
"name": "Black Friday"
},
{
"id": 12,
"name": "Black Friday"
},
{
"id": 19,
"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": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 17,
"name": "Angelo Kovacek",
"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 distinctio est illum voluptatem reprehenderit dolorem voluptatem."
},
"description": {
"en": "Dolores unde ut omnis ex. Sint et quas voluptates officiis autem sapiente hic ipsam. Fugiat vel inventore error cum. Sit perferendis dignissimos nemo et et."
},
"url": {
"en": "http://www.dubuque.com/natus-omnis-voluptas-quia-nobis-commodi-sint"
}
}
},
{
"id": 13,
"name": "Prof. Lexie Harber",
"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": "Enim voluptatum veniam voluptate vero voluptas numquam."
},
"description": {
"en": "Quod occaecati aut porro sapiente autem. Consequatur recusandae iure accusantium quos est. Dolorem placeat sint adipisci accusamus. Quia laborum perspiciatis incidunt est ex labore vel."
},
"url": {
"en": "http://reynolds.com/"
}
}
},
{
"id": 18,
"name": "Prof. Jeremy Abshire Jr.",
"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": "Quae voluptates nulla a magni."
},
"description": {
"en": "Quos modi quae est nulla laborum totam accusamus dolor. Commodi praesentium sit saepe beatae qui fugit. Qui libero soluta sapiente eum occaecati veritatis. Esse aspernatur incidunt ea."
},
"url": {
"en": "http://www.larson.biz/ut-est-maxime-aut-odio-molestiae-sapiente"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
14,
19,
18
]
},
{
"name": "...",
"category_ids": [
13,
13,
12
]
},
{
"name": "...",
"category_ids": [
15,
10,
13
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:52 - 18:38",
"06:52 - 18:38",
"06:52 - 18:38"
]
},
{
"days": "5",
"times": [
"06:48 - 16:46",
"06:48 - 16:46",
"06:48 - 16:46"
]
},
{
"days": "5",
"times": [
"09:19 - 21:12",
"09:19 - 21:12",
"09:19 - 21:12"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:44 - 10:27",
"07:44 - 10:27",
"07:44 - 10:27"
]
},
{
"days": "5",
"times": [
"09:19 - 10:10",
"09:19 - 10:10",
"09:19 - 10:10"
]
},
{
"days": "5",
"times": [
"09:27 - 12:59",
"09:27 - 12:59",
"09:27 - 12:59"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:17 - 13:55",
"08:17 - 13:55",
"08:17 - 13:55"
]
},
{
"days": "5",
"times": [
"08:21 - 15:27",
"08:21 - 15:27",
"08:21 - 15:27"
]
},
{
"days": "5",
"times": [
"09:44 - 17:32",
"09:44 - 17:32",
"09:44 - 17:32"
]
}
]
}
],
"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"
}
]