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/14/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.2
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 |
url | String | A String value |
allow_order_comments | Bool | A boolean value |
allow_product_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 |
category_groups_overview | Bool | Show an overview of all the category groups on the webshop homepage |
display_mode | String | String enumarion of 'blocks', 'list' |
takeout_use_intervals | Bool | A boolean value |
joyn_enabled | 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 |
status | ShopStatus | |
has_specialties | Bool | A boolean value |
currency | Currency | 3 letter ISO 4217 currency name (string) |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 41809
[
{
"id": 10,
"name": "Daryl Grant",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"url": "...",
"allow_order_comments": true,
"allow_product_comments": false,
"offers": [
{
"id": 11,
"name": "Black Friday"
},
{
"id": 13,
"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": false,
"delivery_use_intervals": false,
"categories": [
{
"id": 16,
"name": "Mireya Schumm",
"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 nostrum ratione voluptas repellat deserunt voluptatem architecto."
},
"description": {
"en": "Est aut praesentium inventore ullam animi numquam temporibus. Odio nostrum earum voluptatibus iure. Quidem impedit accusantium saepe vel officiis et."
},
"url": {
"en": "http://www.feeney.info/"
}
}
},
{
"id": 10,
"name": "Brandyn Koepp",
"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": "Laudantium provident dolorem et reprehenderit odio qui voluptatem."
},
"description": {
"en": "Veniam dolore nisi voluptate ipsum distinctio consequatur necessitatibus. Dolor eos et qui non. Molestiae dolores laborum maxime."
},
"url": {
"en": "http://www.jerde.info/voluptatum-repellat-atque-est-eum-omnis-enim.html"
}
}
},
{
"id": 14,
"name": "Simone Bernhard",
"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": "Eum velit cumque id quo molestiae."
},
"description": {
"en": "Tempore quaerat amet repudiandae minus sit atque et. Earum dicta recusandae expedita sit quis. Perferendis voluptatem veniam est architecto beatae. Vel sint accusamus velit aut placeat nam nihil."
},
"url": {
"en": "http://www.turcotte.info/"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
12,
17,
16
],
"id": 13,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
10,
17,
16
],
"id": 10,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
11,
15,
15
],
"id": 15,
"image": {
"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_invoices": false,
"category_groups_overview": true,
"display_mode": "blocks",
"takeout_use_intervals": false,
"joyn_enabled": true,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:35 - 15:57",
"08:35 - 15:57",
"08:35 - 15:57"
]
},
{
"days": "5",
"times": [
"08:42 - 19:46",
"08:42 - 19:46",
"08:42 - 19:46"
]
},
{
"days": "5",
"times": [
"07:10 - 10:27",
"07:10 - 10:27",
"07:10 - 10:27"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:40 - 12:30",
"07:40 - 12:30",
"07:40 - 12:30"
]
},
{
"days": "5",
"times": [
"07:14 - 10:45",
"07:14 - 10:45",
"07:14 - 10:45"
]
},
{
"days": "5",
"times": [
"06:35 - 21:48",
"06:35 - 21:48",
"06:35 - 21:48"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:27 - 21:12",
"08:27 - 21:12",
"08:27 - 21:12"
]
},
{
"days": "5",
"times": [
"08:39 - 11:11",
"08:39 - 11:11",
"08:39 - 11:11"
]
},
{
"days": "5",
"times": [
"09:25 - 12:34",
"09:25 - 12:34",
"09:25 - 12:34"
]
}
]
}
],
"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"
}
],
"status": {
"open": {
"status": "closes-soon",
"text": "..."
},
"takeout": "...",
"delivery": "...",
"latch": "..."
},
"has_specialties": false,
"currency": "EUR"
},
{
"id": 12,
"name": "Destiny Strosin DVM",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"url": "...",
"allow_order_comments": false,
"allow_product_comments": false,
"offers": [
{
"id": 17,
"name": "Black Friday"
},
{
"id": 13,
"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": false
}
},
"allow_orders": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 14,
"name": "Prof. Imani Spencer 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": "Voluptate vel ut modi vero est."
},
"description": {
"en": "Et sit cupiditate accusantium ut. Non est error ut. Ipsum magni qui laborum doloribus. Quia incidunt corrupti est voluptatibus."
},
"url": {
"en": "http://www.ankunding.com/vitae-rerum-magni-sapiente-aut-suscipit-commodi"
}
}
},
{
"id": 18,
"name": "Charley Ritchie",
"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": "Adipisci quia facere rem blanditiis quia."
},
"description": {
"en": "Autem fuga ipsam sed aut tenetur ex eaque. Quam culpa aliquid molestiae quidem illo. Omnis ducimus voluptatem et voluptatem."
},
"url": {
"en": "https://www.schowalter.com/quibusdam-et-ipsam-rem-quod-id"
}
}
},
{
"id": 17,
"name": "Mr. Miller Altenwerth 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": false
},
"seo": {
"title": {
"en": "Deleniti exercitationem labore sint vel est laborum voluptates in tempore et."
},
"description": {
"en": "At beatae a explicabo quisquam quos porro quidem. Porro saepe nihil expedita et minus modi. Iure itaque voluptas nihil aspernatur est dolorem earum. Illo voluptas aut modi voluptas aut."
},
"url": {
"en": "http://www.considine.com/et-unde-maxime-nulla.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
19,
18,
16
],
"id": 10,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
17,
16,
10
],
"id": 11,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
13,
17,
18
],
"id": 13,
"image": {
"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_invoices": true,
"category_groups_overview": false,
"display_mode": "blocks",
"takeout_use_intervals": false,
"joyn_enabled": false,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:36 - 16:38",
"09:36 - 16:38",
"09:36 - 16:38"
]
},
{
"days": "5",
"times": [
"08:28 - 14:16",
"08:28 - 14:16",
"08:28 - 14:16"
]
},
{
"days": "5",
"times": [
"08:35 - 12:13",
"08:35 - 12:13",
"08:35 - 12:13"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:48 - 19:32",
"06:48 - 19:32",
"06:48 - 19:32"
]
},
{
"days": "5",
"times": [
"06:53 - 10:14",
"06:53 - 10:14",
"06:53 - 10:14"
]
},
{
"days": "5",
"times": [
"06:23 - 18:21",
"06:23 - 18:21",
"06:23 - 18:21"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:22 - 16:17",
"08:22 - 16:17",
"08:22 - 16:17"
]
},
{
"days": "5",
"times": [
"06:53 - 21:18",
"06:53 - 21:18",
"06:53 - 21:18"
]
},
{
"days": "5",
"times": [
"07:18 - 10:49",
"07:18 - 10:49",
"07:18 - 10:49"
]
}
]
}
],
"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"
}
],
"status": {
"open": {
"status": "closes-soon",
"text": "..."
},
"takeout": "...",
"delivery": "...",
"latch": "..."
},
"has_specialties": true,
"currency": "EUR"
},
{
"id": 11,
"name": "Brandi Thompson",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"url": "...",
"allow_order_comments": true,
"allow_product_comments": true,
"offers": [
{
"id": 11,
"name": "Black Friday"
},
{
"id": 19,
"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": false
}
},
"allow_orders": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 13,
"name": "Miss Melba Considine 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 et repellendus consequatur fuga enim et soluta."
},
"description": {
"en": "Dolore totam alias aliquam consectetur fugit perspiciatis est. Repellendus voluptas esse ea quam consequatur qui. Non quasi dolorem voluptate itaque blanditiis."
},
"url": {
"en": "http://cole.info/dolor-qui-quia-et-sequi"
}
}
},
{
"id": 10,
"name": "Desmond Williamson",
"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": "In dolorem inventore voluptate ex vero soluta quia."
},
"description": {
"en": "Accusamus qui voluptatem reiciendis non alias cum ducimus. Sed at qui molestias ut exercitationem corporis accusamus quibusdam. Omnis sed dolorum aliquam architecto a distinctio facilis."
},
"url": {
"en": "http://larson.com/aut-perferendis-aliquid-unde-voluptatem-illum-totam-blanditiis"
}
}
},
{
"id": 18,
"name": "Gus Bechtelar 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": "Et aut quasi non tenetur voluptatem magni ad et."
},
"description": {
"en": "Perspiciatis itaque laboriosam harum nulla rem. Aut animi vel aut consequatur. Quod ex minima asperiores nulla vel."
},
"url": {
"en": "http://www.hudson.com/commodi-facere-hic-perspiciatis-adipisci-accusamus-aut"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
17,
11,
16
],
"id": 18,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
16,
14,
11
],
"id": 18,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
12,
11,
19
],
"id": 19,
"image": {
"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_invoices": true,
"category_groups_overview": false,
"display_mode": "blocks",
"takeout_use_intervals": false,
"joyn_enabled": false,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:38 - 12:12",
"07:38 - 12:12",
"07:38 - 12:12"
]
},
{
"days": "5",
"times": [
"07:50 - 19:42",
"07:50 - 19:42",
"07:50 - 19:42"
]
},
{
"days": "5",
"times": [
"08:52 - 12:30",
"08:52 - 12:30",
"08:52 - 12:30"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:25 - 10:42",
"06:25 - 10:42",
"06:25 - 10:42"
]
},
{
"days": "5",
"times": [
"06:18 - 12:12",
"06:18 - 12:12",
"06:18 - 12:12"
]
},
{
"days": "5",
"times": [
"06:59 - 10:56",
"06:59 - 10:56",
"06:59 - 10:56"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:49 - 16:24",
"06:49 - 16:24",
"06:49 - 16:24"
]
},
{
"days": "5",
"times": [
"06:27 - 11:44",
"06:27 - 11:44",
"06:27 - 11:44"
]
},
{
"days": "5",
"times": [
"09:48 - 19:30",
"09:48 - 19:30",
"09:48 - 19: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"
}
],
"status": {
"open": {
"status": "closes-soon",
"text": "..."
},
"takeout": "...",
"delivery": "...",
"latch": "..."
},
"has_specialties": false,
"currency": "EUR"
}
]