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/17/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.2.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 |
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) |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 39367
[
{
"id": 11,
"name": "Dr. Mckenzie Rogahn",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 14,
"name": "...",
"items": [
{
"type": "product",
"item_id": 13,
"percentage": 10,
"minimum": 11
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 17
},
{
"type": "product",
"item_id": 14,
"percentage": 13,
"minimum": 15
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 18,
"percentage": 17,
"minimum": 15
},
{
"type": "product",
"item_id": 15,
"percentage": 15,
"minimum": 18
},
{
"type": "product",
"item_id": 11,
"percentage": 17,
"minimum": 15
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 12,
"percentage": 18,
"minimum": 11
},
{
"type": "product",
"item_id": 16,
"percentage": 17,
"minimum": 17
},
{
"type": "product",
"item_id": 11,
"percentage": 18,
"minimum": 10
}
]
}
],
"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": 16,
"name": "Prof. Marcelo Gibson",
"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": "Nostrum unde quos distinctio est culpa repellendus eveniet fuga et ex."
},
"description": {
"en": "Consequatur doloremque aut consequatur officia qui. Corrupti consequatur id voluptatibus adipisci asperiores ratione. Soluta qui autem nisi tenetur quaerat commodi. Et aut assumenda dolores."
},
"url": {
"en": "http://daniel.info/magnam-nostrum-error-quos"
}
}
},
{
"id": 14,
"name": "Mabel Macejkovic",
"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": "Amet et velit et ea nostrum non aspernatur ut."
},
"description": {
"en": "Rerum suscipit voluptate doloremque omnis. Quidem ea pariatur voluptatem tempore. Aperiam voluptatum omnis tempora consequatur est. Ipsam eos fuga alias ea vel id esse."
},
"url": {
"en": "http://www.herman.com/"
}
}
},
{
"id": 11,
"name": "Dr. Marcos Kunde",
"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": "Sunt reprehenderit aperiam fugit harum aut omnis saepe id provident."
},
"description": {
"en": "Iure sed nemo eum saepe animi autem. Nostrum consequuntur modi accusamus est. Facere repudiandae nesciunt aut deleniti. Dolor quisquam voluptatem molestias."
},
"url": {
"en": "https://paucek.biz/quod-fugit-dolores-quas.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
17,
16,
17
]
},
{
"name": "...",
"category_ids": [
13,
18,
14
]
},
{
"name": "...",
"category_ids": [
15,
11,
18
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:19 - 21:22",
"08:19 - 21:22",
"08:19 - 21:22"
]
},
{
"days": "5",
"times": [
"06:22 - 18:55",
"06:22 - 18:55",
"06:22 - 18:55"
]
},
{
"days": "5",
"times": [
"09:41 - 12:50",
"09:41 - 12:50",
"09:41 - 12:50"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:21 - 20:55",
"06:21 - 20:55",
"06:21 - 20:55"
]
},
{
"days": "5",
"times": [
"09:16 - 15:42",
"09:16 - 15:42",
"09:16 - 15:42"
]
},
{
"days": "5",
"times": [
"09:39 - 17:48",
"09:39 - 17:48",
"09:39 - 17:48"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:43 - 17:13",
"08:43 - 17:13",
"08:43 - 17:13"
]
},
{
"days": "5",
"times": [
"08:40 - 16:26",
"08:40 - 16:26",
"08:40 - 16:26"
]
},
{
"days": "5",
"times": [
"06:25 - 19:57",
"06:25 - 19:57",
"06:25 - 19:57"
]
}
]
}
],
"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": 18,
"name": "Amani Bauch",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 11,
"name": "...",
"items": [
{
"type": "product",
"item_id": 16,
"percentage": 18,
"minimum": 10
},
{
"type": "product",
"item_id": 14,
"percentage": 13,
"minimum": 12
},
{
"type": "product",
"item_id": 19,
"percentage": 15,
"minimum": 17
}
]
},
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 12,
"percentage": 10,
"minimum": 14
},
{
"type": "product",
"item_id": 19,
"percentage": 12,
"minimum": 18
},
{
"type": "product",
"item_id": 17,
"percentage": 15,
"minimum": 12
}
]
},
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 18,
"percentage": 17,
"minimum": 11
},
{
"type": "product",
"item_id": 12,
"percentage": 12,
"minimum": 15
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 12
}
]
}
],
"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": true,
"allow_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 14,
"name": "Maxime Nitzsche 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": "Nesciunt at ullam provident nostrum corporis et."
},
"description": {
"en": "A commodi laborum quod. Ut id quos eaque et magni quis ea. Blanditiis rem rerum quas impedit ut reprehenderit. Quo qui dolor sed."
},
"url": {
"en": "http://www.miller.com/"
}
}
},
{
"id": 18,
"name": "Ms. Alysson Baumbach IV",
"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": "Vel aut laborum sapiente laborum consectetur."
},
"description": {
"en": "Aut praesentium molestiae inventore et rem adipisci accusamus. Consequuntur ab eum quaerat sed aut consequatur. Animi ipsum fugit alias aut molestiae eos."
},
"url": {
"en": "http://www.satterfield.net/velit-consequatur-sed-nihil-qui-et-sint-temporibus.html"
}
}
},
{
"id": 18,
"name": "Lessie Wisozk IV",
"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 est similique nemo fugiat consequatur fugit."
},
"description": {
"en": "Et non temporibus adipisci totam eum tenetur. Tempore facere culpa blanditiis facilis. Cum veritatis ipsam nisi rerum."
},
"url": {
"en": "http://www.harris.com/qui-quod-est-blanditiis-corrupti"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
12,
19,
16
]
},
{
"name": "...",
"category_ids": [
11,
12,
19
]
},
{
"name": "...",
"category_ids": [
14,
18,
17
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:34 - 12:48",
"06:34 - 12:48",
"06:34 - 12:48"
]
},
{
"days": "5",
"times": [
"06:13 - 13:35",
"06:13 - 13:35",
"06:13 - 13:35"
]
},
{
"days": "5",
"times": [
"09:13 - 12:47",
"09:13 - 12:47",
"09:13 - 12:47"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:31 - 16:20",
"09:31 - 16:20",
"09:31 - 16:20"
]
},
{
"days": "5",
"times": [
"07:46 - 20:20",
"07:46 - 20:20",
"07:46 - 20:20"
]
},
{
"days": "5",
"times": [
"08:21 - 10:38",
"08:21 - 10:38",
"08:21 - 10:38"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:17 - 16:26",
"09:17 - 16:26",
"09:17 - 16:26"
]
},
{
"days": "5",
"times": [
"09:26 - 20:50",
"09:26 - 20:50",
"09:26 - 20:50"
]
},
{
"days": "5",
"times": [
"08:17 - 13:23",
"08:17 - 13:23",
"08:17 - 13: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"
},
{
"id": 19,
"name": "Edgar Altenwerth",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 15,
"name": "...",
"items": [
{
"type": "product",
"item_id": 14,
"percentage": 15,
"minimum": 12
},
{
"type": "product",
"item_id": 19,
"percentage": 10,
"minimum": 14
},
{
"type": "product",
"item_id": 12,
"percentage": 16,
"minimum": 14
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 16,
"percentage": 19,
"minimum": 15
},
{
"type": "product",
"item_id": 17,
"percentage": 11,
"minimum": 16
},
{
"type": "product",
"item_id": 14,
"percentage": 11,
"minimum": 18
}
]
},
{
"id": 14,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 18,
"minimum": 19
},
{
"type": "product",
"item_id": 19,
"percentage": 12,
"minimum": 13
},
{
"type": "product",
"item_id": 19,
"percentage": 14,
"minimum": 19
}
]
}
],
"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": true,
"categories": [
{
"id": 12,
"name": "Prof. Tristian Beatty",
"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": "Enim voluptate amet incidunt atque assumenda voluptas."
},
"description": {
"en": "Animi et qui molestiae et sit. Sequi voluptatibus omnis repudiandae est quidem qui sed. Molestias nam aliquam quae enim alias. Aperiam non similique accusantium consequuntur quam repellendus ut."
},
"url": {
"en": "http://www.connelly.com/id-aut-velit-quia-omnis-distinctio-odio-perferendis-perferendis"
}
}
},
{
"id": 12,
"name": "Miss Maribel Langworth 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": true
},
"seo": {
"title": {
"en": "Aut nihil voluptas aut pariatur dolore repudiandae doloremque quia modi."
},
"description": {
"en": "Molestiae aut libero assumenda ut iusto non. Qui magnam dolores sunt expedita eum quos consequatur. Nulla sit ea illo voluptas dolorum quo. Id quod nisi at qui eligendi sed."
},
"url": {
"en": "https://www.hettinger.com/sequi-sunt-consequatur-at-adipisci-culpa-fugiat"
}
}
},
{
"id": 13,
"name": "Dr. Laurie Bernier 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": false
},
"seo": {
"title": {
"en": "Adipisci adipisci voluptatem similique saepe aspernatur aut dolor."
},
"description": {
"en": "Aut eveniet qui ut quis magni quae. Alias explicabo dolores repudiandae. Fuga architecto et minus sed hic. Iste corporis asperiores voluptatem adipisci eum placeat at."
},
"url": {
"en": "https://erdman.net/et-a-aut-rerum.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
18,
10,
14
]
},
{
"name": "...",
"category_ids": [
10,
12,
15
]
},
{
"name": "...",
"category_ids": [
11,
18,
13
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:40 - 14:16",
"09:40 - 14:16",
"09:40 - 14:16"
]
},
{
"days": "5",
"times": [
"07:20 - 17:52",
"07:20 - 17:52",
"07:20 - 17:52"
]
},
{
"days": "5",
"times": [
"08:38 - 16:18",
"08:38 - 16:18",
"08:38 - 16:18"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:52 - 10:51",
"07:52 - 10:51",
"07:52 - 10:51"
]
},
{
"days": "5",
"times": [
"09:30 - 10:29",
"09:30 - 10:29",
"09:30 - 10:29"
]
},
{
"days": "5",
"times": [
"08:57 - 16:56",
"08:57 - 16:56",
"08:57 - 16:56"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:39 - 14:11",
"08:39 - 14:11",
"08:39 - 14:11"
]
},
{
"days": "5",
"times": [
"07:10 - 21:48",
"07:10 - 21:48",
"07:10 - 21:48"
]
},
{
"days": "5",
"times": [
"07:49 - 16:15",
"07:49 - 16:15",
"07:49 - 16:15"
]
}
]
}
],
"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"
}
]