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/19/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.1
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. |
allow_invoices | Bool | A boolean value |
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: 33410
[
{
"id": 18,
"name": "Jayme Stiedemann",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"offers": [
{
"id": 17,
"name": "Black Friday"
},
{
"id": 15,
"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_orders": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 14,
"name": "Jakob Walter 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": true
},
"seo": {
"title": {
"en": "Numquam ullam similique earum quam ducimus molestias."
},
"description": {
"en": "A aut exercitationem qui. Cum repudiandae ut blanditiis maxime. Et est occaecati voluptatem a ut. Et rem sed doloribus in."
},
"url": {
"en": "http://www.mayer.com/voluptatibus-quas-dicta-repellat-nostrum-aut-et"
}
}
},
{
"id": 14,
"name": "Reginald Satterfield",
"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 voluptate ratione architecto delectus eos atque dolore suscipit incidunt."
},
"description": {
"en": "Provident sed quia rem earum soluta quis ut. Ullam a est at occaecati iste non qui officiis. Cumque quia dolore nihil iste eaque voluptas ut. Eos vel ipsum ut nesciunt perspiciatis."
},
"url": {
"en": "https://www.crona.com/deleniti-exercitationem-ducimus-ut-nemo"
}
}
},
{
"id": 11,
"name": "Amie McClure",
"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 mollitia et enim sed harum."
},
"description": {
"en": "Quis qui tempora optio vel voluptate omnis dolorem voluptate. Et quia quia ipsa excepturi incidunt. Voluptatem placeat et et. Molestias odio quisquam maiores incidunt aliquam possimus accusantium ut."
},
"url": {
"en": "http://crist.com/iure-et-ipsa-explicabo-repellat-pariatur-dignissimos-omnis-iusto.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
10,
14,
19
]
},
{
"name": "...",
"category_ids": [
17,
15,
18
]
},
{
"name": "...",
"category_ids": [
19,
12,
18
]
}
],
"allow_invoices": true,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:26 - 18:45",
"06:26 - 18:45",
"06:26 - 18:45"
]
},
{
"days": "5",
"times": [
"08:19 - 11:31",
"08:19 - 11:31",
"08:19 - 11:31"
]
},
{
"days": "5",
"times": [
"09:28 - 10:29",
"09:28 - 10:29",
"09:28 - 10:29"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:41 - 14:34",
"07:41 - 14:34",
"07:41 - 14:34"
]
},
{
"days": "5",
"times": [
"09:36 - 18:23",
"09:36 - 18:23",
"09:36 - 18:23"
]
},
{
"days": "5",
"times": [
"07:41 - 17:56",
"07:41 - 17:56",
"07:41 - 17:56"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:32 - 19:32",
"08:32 - 19:32",
"08:32 - 19:32"
]
},
{
"days": "5",
"times": [
"09:22 - 18:51",
"09:22 - 18:51",
"09:22 - 18:51"
]
},
{
"days": "5",
"times": [
"08:58 - 18:56",
"08:58 - 18:56",
"08:58 - 18:56"
]
}
]
}
],
"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": 12,
"name": "Charlene Barrows",
"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": 18,
"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": true
}
},
"allow_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 14,
"name": "Abigayle Farrell 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": "Expedita necessitatibus voluptates dignissimos saepe voluptatem amet numquam omnis."
},
"description": {
"en": "Eos beatae architecto magnam placeat. Beatae et magnam ut eveniet sed. Eos aliquid omnis animi. Non soluta qui saepe sed soluta aut."
},
"url": {
"en": "http://bins.com/non-quibusdam-accusamus-in-ut-iure-aut"
}
}
},
{
"id": 17,
"name": "Ms. Delfina Veum 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": "Ut animi non expedita dolores quia non et est deleniti necessitatibus."
},
"description": {
"en": "Non a a veritatis. Atque delectus praesentium est labore. Corrupti aut culpa pariatur eos iusto sed totam."
},
"url": {
"en": "http://www.okeefe.com/nihil-aperiam-quibusdam-laborum-facilis"
}
}
},
{
"id": 18,
"name": "Trisha Wilkinson",
"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": "Sint atque doloremque neque consectetur ut ipsam repellendus alias unde accusamus."
},
"description": {
"en": "Neque vel maiores consectetur qui voluptas ab dolor quae. Hic in rerum dicta temporibus dolorem tempora minima. Laborum quis sint unde vero voluptas maxime."
},
"url": {
"en": "http://fisher.info/et-ipsum-quia-optio-qui.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
16,
12,
19
]
},
{
"name": "...",
"category_ids": [
14,
19,
11
]
},
{
"name": "...",
"category_ids": [
16,
18,
14
]
}
],
"allow_invoices": true,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:48 - 10:51",
"06:48 - 10:51",
"06:48 - 10:51"
]
},
{
"days": "5",
"times": [
"09:35 - 15:13",
"09:35 - 15:13",
"09:35 - 15:13"
]
},
{
"days": "5",
"times": [
"09:28 - 12:49",
"09:28 - 12:49",
"09:28 - 12:49"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:39 - 14:20",
"06:39 - 14:20",
"06:39 - 14:20"
]
},
{
"days": "5",
"times": [
"06:48 - 11:48",
"06:48 - 11:48",
"06:48 - 11:48"
]
},
{
"days": "5",
"times": [
"06:29 - 18:18",
"06:29 - 18:18",
"06:29 - 18:18"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:32 - 13:11",
"06:32 - 13:11",
"06:32 - 13:11"
]
},
{
"days": "5",
"times": [
"07:46 - 14:40",
"07:46 - 14:40",
"07:46 - 14:40"
]
},
{
"days": "5",
"times": [
"09:20 - 13:56",
"09:20 - 13:56",
"09:20 - 13:56"
]
}
]
}
],
"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": "Reyes Osinski",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"offers": [
{
"id": 15,
"name": "Black Friday"
},
{
"id": 16,
"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": true
}
},
"allow_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 10,
"name": "Dr. Hayley Hayes PhD",
"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 praesentium qui eaque quisquam consequuntur enim alias sit qui odit."
},
"description": {
"en": "Qui magni natus natus. Commodi laboriosam quae ad nobis quod. Odio quis eius aliquid autem velit."
},
"url": {
"en": "http://funk.com/ipsa-ut-ut-voluptatibus-eum-adipisci"
}
}
},
{
"id": 13,
"name": "Cassandra Bauch",
"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": "Ut voluptas rerum hic tenetur ipsum ipsa sit."
},
"description": {
"en": "Cum qui neque sint dolores excepturi quis. Assumenda possimus totam assumenda officiis iusto dolores eius. Laborum quam esse itaque ullam."
},
"url": {
"en": "http://www.mclaughlin.com/"
}
}
},
{
"id": 15,
"name": "Octavia Carter",
"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": "Voluptates qui quos facere harum et beatae."
},
"description": {
"en": "Quo laborum officiis non. Delectus nemo repellat omnis magnam veniam. Rerum illum mollitia culpa asperiores cumque ut dolore."
},
"url": {
"en": "http://www.roberts.net/asperiores-at-commodi-id-repudiandae"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
19,
17,
13
]
},
{
"name": "...",
"category_ids": [
19,
19,
12
]
},
{
"name": "...",
"category_ids": [
14,
13,
18
]
}
],
"allow_invoices": true,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:27 - 10:44",
"08:27 - 10:44",
"08:27 - 10:44"
]
},
{
"days": "5",
"times": [
"09:25 - 13:40",
"09:25 - 13:40",
"09:25 - 13:40"
]
},
{
"days": "5",
"times": [
"09:37 - 14:42",
"09:37 - 14:42",
"09:37 - 14:42"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:35 - 17:24",
"07:35 - 17:24",
"07:35 - 17:24"
]
},
{
"days": "5",
"times": [
"09:37 - 13:39",
"09:37 - 13:39",
"09:37 - 13:39"
]
},
{
"days": "5",
"times": [
"08:33 - 20:45",
"08:33 - 20:45",
"08:33 - 20:45"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:52 - 11:13",
"06:52 - 11:13",
"06:52 - 11:13"
]
},
{
"days": "5",
"times": [
"08:42 - 10:10",
"08:42 - 10:10",
"08:42 - 10:10"
]
},
{
"days": "5",
"times": [
"06:25 - 19:14",
"06:25 - 19:14",
"06:25 - 19:14"
]
}
]
}
],
"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"
}
]