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.3.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: 39280
[
{
"id": 15,
"name": "Stella Wilderman",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 17,
"minimum": 19
},
{
"type": "product",
"item_id": 14,
"percentage": 13,
"minimum": 13
},
{
"type": "product",
"item_id": 17,
"percentage": 15,
"minimum": 10
}
]
},
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 12,
"minimum": 12
},
{
"type": "product",
"item_id": 17,
"percentage": 12,
"minimum": 19
},
{
"type": "product",
"item_id": 14,
"percentage": 12,
"minimum": 10
}
]
},
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 13,
"percentage": 12,
"minimum": 15
},
{
"type": "product",
"item_id": 19,
"percentage": 17,
"minimum": 13
},
{
"type": "product",
"item_id": 11,
"percentage": 16,
"minimum": 15
}
]
}
],
"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": 19,
"name": "Lilliana Strosin",
"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 quas doloribus omnis consequatur ducimus ex pariatur."
},
"description": {
"en": "Earum commodi eos et ducimus praesentium sint. Incidunt ullam occaecati necessitatibus dolorem omnis consequatur et facere. Mollitia quibusdam ratione dolores voluptates."
},
"url": {
"en": "http://www.sanford.com/"
}
}
},
{
"id": 12,
"name": "Ford Lebsack",
"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": "Ea nobis quis voluptatum est."
},
"description": {
"en": "Omnis officiis dolorum qui placeat suscipit. Ea quia repellendus soluta non voluptates accusamus. Enim veniam sint quisquam et expedita quisquam."
},
"url": {
"en": "http://www.monahan.org/aut-nostrum-sit-error.html"
}
}
},
{
"id": 15,
"name": "Hillary DuBuque 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": "Natus consequatur accusantium ratione aut nam id nesciunt tempora numquam sapiente."
},
"description": {
"en": "Nulla iusto autem ea velit. Laboriosam voluptas assumenda officiis nesciunt quia et aut. Autem est nobis minima."
},
"url": {
"en": "http://www.heaney.com/laboriosam-sit-enim-labore-quis.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
15,
12,
10
]
},
{
"name": "...",
"category_ids": [
17,
13,
16
]
},
{
"name": "...",
"category_ids": [
15,
13,
10
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:36 - 13:18",
"07:36 - 13:18",
"07:36 - 13:18"
]
},
{
"days": "5",
"times": [
"08:20 - 20:21",
"08:20 - 20:21",
"08:20 - 20:21"
]
},
{
"days": "5",
"times": [
"07:22 - 12:38",
"07:22 - 12:38",
"07:22 - 12:38"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:13 - 17:48",
"07:13 - 17:48",
"07:13 - 17:48"
]
},
{
"days": "5",
"times": [
"06:50 - 15:30",
"06:50 - 15:30",
"06:50 - 15:30"
]
},
{
"days": "5",
"times": [
"08:33 - 10:23",
"08:33 - 10:23",
"08:33 - 10:23"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:14 - 18:34",
"09:14 - 18:34",
"09:14 - 18:34"
]
},
{
"days": "5",
"times": [
"06:22 - 20:50",
"06:22 - 20:50",
"06:22 - 20:50"
]
},
{
"days": "5",
"times": [
"07:27 - 20:30",
"07:27 - 20:30",
"07:27 - 20:30"
]
}
]
}
],
"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": "Elaina King MD",
"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": 10,
"minimum": 14
},
{
"type": "product",
"item_id": 14,
"percentage": 14,
"minimum": 11
},
{
"type": "product",
"item_id": 12,
"percentage": 16,
"minimum": 15
}
]
},
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 18,
"percentage": 10,
"minimum": 19
},
{
"type": "product",
"item_id": 10,
"percentage": 14,
"minimum": 10
},
{
"type": "product",
"item_id": 13,
"percentage": 10,
"minimum": 16
}
]
},
{
"id": 18,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 18,
"minimum": 11
},
{
"type": "product",
"item_id": 13,
"percentage": 18,
"minimum": 14
},
{
"type": "product",
"item_id": 16,
"percentage": 16,
"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": true,
"allow_orders": false,
"delivery_use_intervals": false,
"categories": [
{
"id": 16,
"name": "Abelardo Windler",
"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": "Dolor tempore sunt dignissimos dolor excepturi."
},
"description": {
"en": "Debitis aut voluptatum architecto quod iusto assumenda porro. Repudiandae in ut sunt suscipit et nobis. Unde nam debitis optio."
},
"url": {
"en": "https://www.ruecker.com/commodi-ab-ratione-facilis-saepe-id-ea"
}
}
},
{
"id": 13,
"name": "Jasen DuBuque",
"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": "Rerum quo totam suscipit quod repellendus."
},
"description": {
"en": "Aliquid excepturi in voluptatem quia ut natus ut. Ut optio odit est nisi. Ipsam incidunt qui minima sapiente quod. Rerum natus quam quo aliquid maiores."
},
"url": {
"en": "http://sporer.net/harum-iusto-rerum-eum-quas-ab.html"
}
}
},
{
"id": 11,
"name": "Mr. Jess Marks III",
"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": "Eum voluptas explicabo laborum enim odit minima odio officiis."
},
"description": {
"en": "Quisquam dignissimos ipsam ad aut quis iure unde. Sunt quidem rerum vitae adipisci quasi tenetur quis. Labore et ex numquam quo quis nesciunt reprehenderit. Magnam iste itaque cum."
},
"url": {
"en": "http://www.davis.biz/vitae-est-corrupti-eos-atque-et"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
10,
10,
18
]
},
{
"name": "...",
"category_ids": [
19,
15,
19
]
},
{
"name": "...",
"category_ids": [
19,
12,
18
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:50 - 15:21",
"08:50 - 15:21",
"08:50 - 15:21"
]
},
{
"days": "5",
"times": [
"08:22 - 20:46",
"08:22 - 20:46",
"08:22 - 20:46"
]
},
{
"days": "5",
"times": [
"06:32 - 16:42",
"06:32 - 16:42",
"06:32 - 16:42"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:35 - 10:32",
"08:35 - 10:32",
"08:35 - 10:32"
]
},
{
"days": "5",
"times": [
"08:28 - 12:15",
"08:28 - 12:15",
"08:28 - 12:15"
]
},
{
"days": "5",
"times": [
"06:23 - 20:23",
"06:23 - 20:23",
"06:23 - 20:23"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:15 - 20:56",
"09:15 - 20:56",
"09:15 - 20:56"
]
},
{
"days": "5",
"times": [
"07:15 - 14:54",
"07:15 - 14:54",
"07:15 - 14:54"
]
},
{
"days": "5",
"times": [
"08:52 - 17:59",
"08:52 - 17:59",
"08:52 - 17:59"
]
}
]
}
],
"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": "Sandrine Graham Jr.",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 17
},
{
"type": "product",
"item_id": 11,
"percentage": 13,
"minimum": 10
},
{
"type": "product",
"item_id": 10,
"percentage": 19,
"minimum": 11
}
]
},
{
"id": 17,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 13,
"minimum": 16
},
{
"type": "product",
"item_id": 17,
"percentage": 13,
"minimum": 13
},
{
"type": "product",
"item_id": 17,
"percentage": 16,
"minimum": 18
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 14,
"minimum": 14
},
{
"type": "product",
"item_id": 18,
"percentage": 17,
"minimum": 19
},
{
"type": "product",
"item_id": 13,
"percentage": 11,
"minimum": 13
}
]
}
],
"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": false,
"delivery_use_intervals": false,
"categories": [
{
"id": 17,
"name": "Prof. Darwin Predovic",
"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": "Suscipit similique voluptate alias odit rerum tenetur est."
},
"description": {
"en": "Doloribus ipsum accusantium soluta. Vel aspernatur soluta nihil placeat quas rerum qui. Qui nesciunt ut reprehenderit expedita animi adipisci eum."
},
"url": {
"en": "http://kohler.com/reiciendis-provident-alias-qui-facere-eaque-ipsum"
}
}
},
{
"id": 15,
"name": "Levi Kreiger",
"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 quasi ratione dignissimos suscipit qui facilis distinctio non placeat quam."
},
"description": {
"en": "Accusantium rerum sed maxime quos qui. Laudantium omnis cupiditate debitis voluptatum maxime. Praesentium ut explicabo minus quisquam."
},
"url": {
"en": "http://ward.net/et-velit-aliquam-aliquid-et-rerum-repudiandae-quis.html"
}
}
},
{
"id": 11,
"name": "Kendall Rau",
"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": "Laudantium labore iusto aut repellat quidem eos aperiam sapiente aut."
},
"description": {
"en": "Voluptatibus cum eius cumque maiores. Officiis hic repellendus consequatur nobis est. Eum commodi qui voluptas nulla eum explicabo inventore. Non expedita doloribus sed ipsum."
},
"url": {
"en": "https://www.rodriguez.com/nulla-tempora-accusantium-neque-odio-et-aut-tempora"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
17,
16,
12
]
},
{
"name": "...",
"category_ids": [
17,
16,
15
]
},
{
"name": "...",
"category_ids": [
10,
16,
13
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:32 - 18:35",
"09:32 - 18:35",
"09:32 - 18:35"
]
},
{
"days": "5",
"times": [
"07:20 - 16:59",
"07:20 - 16:59",
"07:20 - 16:59"
]
},
{
"days": "5",
"times": [
"09:58 - 15:56",
"09:58 - 15:56",
"09:58 - 15:56"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:33 - 21:29",
"09:33 - 21:29",
"09:33 - 21:29"
]
},
{
"days": "5",
"times": [
"09:12 - 14:34",
"09:12 - 14:34",
"09:12 - 14:34"
]
},
{
"days": "5",
"times": [
"08:53 - 21:36",
"08:53 - 21:36",
"08:53 - 21:36"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:42 - 13:38",
"08:42 - 13:38",
"08:42 - 13:38"
]
},
{
"days": "5",
"times": [
"08:56 - 13:58",
"08:56 - 13:58",
"08:56 - 13:58"
]
},
{
"days": "5",
"times": [
"08:33 - 16:33",
"08:33 - 16:33",
"08:33 - 16:33"
]
}
]
}
],
"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"
}
]