GET /shops/recent
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
Append the querystring with following properties to the URL.
A dictionary with fields
Field | Type | Description |
---|---|---|
company_id | Int | Optional. Only return shops of this company ID |
GET /shops/recent?company_id=19 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.3.0
Accept-Language: en-US,en;q=0.5
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: 39215
[
{
"id": 19,
"name": "Prof. Myrl Eichmann",
"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": 12,
"percentage": 11,
"minimum": 19
},
{
"type": "product",
"item_id": 14,
"percentage": 16,
"minimum": 15
},
{
"type": "product",
"item_id": 13,
"percentage": 12,
"minimum": 14
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 10,
"percentage": 16,
"minimum": 18
},
{
"type": "product",
"item_id": 10,
"percentage": 14,
"minimum": 10
},
{
"type": "product",
"item_id": 19,
"percentage": 15,
"minimum": 11
}
]
},
{
"id": 16,
"name": "...",
"items": [
{
"type": "product",
"item_id": 18,
"percentage": 15,
"minimum": 10
},
{
"type": "product",
"item_id": 15,
"percentage": 17,
"minimum": 15
},
{
"type": "product",
"item_id": 16,
"percentage": 18,
"minimum": 14
}
]
}
],
"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": false,
"allow_orders": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 19,
"name": "Federico Heaney 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": "Autem vel voluptatibus fuga quis quia tempora id distinctio officia et."
},
"description": {
"en": "Quaerat quaerat molestiae nobis officiis nostrum. Cumque cupiditate deleniti quia et. Eos quia temporibus quia commodi molestiae et. Expedita rerum molestias corrupti nobis numquam natus velit."
},
"url": {
"en": "https://huels.com/nostrum-quos-at-voluptate-corporis-minima-illo-facere.html"
}
}
},
{
"id": 11,
"name": "Chyna Cronin 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": "Aliquam assumenda et et harum voluptatem et modi qui ea commodi."
},
"description": {
"en": "Sunt fugiat sit vero harum et. Cupiditate beatae praesentium molestiae ut. Est facilis consequatur id aut tempora voluptatem fugiat."
},
"url": {
"en": "http://keebler.com/similique-et-expedita-ea-omnis-molestias-assumenda-aperiam-unde.html"
}
}
},
{
"id": 16,
"name": "Lera Wiza",
"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": "Numquam sunt nemo et cum est nemo quis sit incidunt blanditiis."
},
"description": {
"en": "Harum quis doloremque totam. Adipisci officia quas voluptas at voluptatum vero autem error. Provident velit et ipsum et iste minus."
},
"url": {
"en": "http://kertzmann.org/"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
18,
15,
16
]
},
{
"name": "...",
"category_ids": [
11,
13,
17
]
},
{
"name": "...",
"category_ids": [
10,
18,
11
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:14 - 17:41",
"06:14 - 17:41",
"06:14 - 17:41"
]
},
{
"days": "5",
"times": [
"07:24 - 21:15",
"07:24 - 21:15",
"07:24 - 21:15"
]
},
{
"days": "5",
"times": [
"08:28 - 14:15",
"08:28 - 14:15",
"08:28 - 14:15"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:35 - 16:28",
"07:35 - 16:28",
"07:35 - 16:28"
]
},
{
"days": "5",
"times": [
"06:53 - 20:21",
"06:53 - 20:21",
"06:53 - 20:21"
]
},
{
"days": "5",
"times": [
"07:54 - 10:16",
"07:54 - 10:16",
"07:54 - 10:16"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:43 - 10:13",
"07:43 - 10:13",
"07:43 - 10:13"
]
},
{
"days": "5",
"times": [
"09:39 - 16:22",
"09:39 - 16:22",
"09:39 - 16:22"
]
},
{
"days": "5",
"times": [
"07:23 - 12:29",
"07:23 - 12:29",
"07:23 - 12:29"
]
}
]
}
],
"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": "Cassandra Kerluke",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 18,
"name": "...",
"items": [
{
"type": "product",
"item_id": 18,
"percentage": 18,
"minimum": 14
},
{
"type": "product",
"item_id": 17,
"percentage": 19,
"minimum": 17
},
{
"type": "product",
"item_id": 12,
"percentage": 15,
"minimum": 12
}
]
},
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 15,
"minimum": 12
},
{
"type": "product",
"item_id": 11,
"percentage": 16,
"minimum": 19
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 16
}
]
},
{
"id": 17,
"name": "...",
"items": [
{
"type": "product",
"item_id": 14,
"percentage": 19,
"minimum": 17
},
{
"type": "product",
"item_id": 15,
"percentage": 16,
"minimum": 17
},
{
"type": "product",
"item_id": 14,
"percentage": 11,
"minimum": 16
}
]
}
],
"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": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 16,
"name": "Mrs. Vickie Dicki",
"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 accusantium debitis qui velit sit maiores."
},
"description": {
"en": "Minima sunt consequatur ex ea aut. Vero nobis sit enim culpa."
},
"url": {
"en": "http://www.dach.com/"
}
}
},
{
"id": 17,
"name": "Brayan Breitenberg 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": false
},
"seo": {
"title": {
"en": "Et eligendi est enim est quos pariatur."
},
"description": {
"en": "Delectus molestiae et et. Eligendi sapiente nam suscipit vero. Omnis quidem dignissimos reprehenderit ad corporis laborum. Quam officiis voluptatem necessitatibus."
},
"url": {
"en": "http://www.lindgren.com/"
}
}
},
{
"id": 14,
"name": "Shyann Fritsch",
"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": "Commodi quod eum sed ratione assumenda est cum vero ex."
},
"description": {
"en": "Vel porro qui error cum facilis voluptatem quod. Illo et inventore soluta perferendis natus cum et. Hic enim placeat quaerat voluptas."
},
"url": {
"en": "http://www.ward.com/culpa-fuga-iste-autem-dolor-est-tempore-ut-voluptatibus"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
17,
15,
18
]
},
{
"name": "...",
"category_ids": [
12,
13,
11
]
},
{
"name": "...",
"category_ids": [
11,
10,
11
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:30 - 17:49",
"08:30 - 17:49",
"08:30 - 17:49"
]
},
{
"days": "5",
"times": [
"09:23 - 14:24",
"09:23 - 14:24",
"09:23 - 14:24"
]
},
{
"days": "5",
"times": [
"06:38 - 17:26",
"06:38 - 17:26",
"06:38 - 17:26"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:37 - 17:43",
"08:37 - 17:43",
"08:37 - 17:43"
]
},
{
"days": "5",
"times": [
"09:51 - 17:20",
"09:51 - 17:20",
"09:51 - 17:20"
]
},
{
"days": "5",
"times": [
"06:57 - 21:53",
"06:57 - 21:53",
"06:57 - 21:53"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:31 - 11:53",
"09:31 - 11:53",
"09:31 - 11:53"
]
},
{
"days": "5",
"times": [
"09:44 - 18:11",
"09:44 - 18:11",
"09:44 - 18:11"
]
},
{
"days": "5",
"times": [
"09:42 - 21:48",
"09:42 - 21:48",
"09:42 - 21:48"
]
}
]
}
],
"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": "Ms. Anna Gleason",
"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": 11,
"percentage": 13,
"minimum": 12
},
{
"type": "product",
"item_id": 17,
"percentage": 19,
"minimum": 15
},
{
"type": "product",
"item_id": 12,
"percentage": 14,
"minimum": 11
}
]
},
{
"id": 14,
"name": "...",
"items": [
{
"type": "product",
"item_id": 14,
"percentage": 11,
"minimum": 17
},
{
"type": "product",
"item_id": 19,
"percentage": 11,
"minimum": 17
},
{
"type": "product",
"item_id": 12,
"percentage": 17,
"minimum": 14
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 13,
"minimum": 13
},
{
"type": "product",
"item_id": 18,
"percentage": 11,
"minimum": 10
},
{
"type": "product",
"item_id": 15,
"percentage": 16,
"minimum": 11
}
]
}
],
"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": true,
"categories": [
{
"id": 14,
"name": "Shirley McKenzie 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": "Aut consequuntur omnis accusantium et ut exercitationem debitis itaque et."
},
"description": {
"en": "Suscipit autem ut ea nostrum est. Quia enim quibusdam facere dignissimos ad et at. Libero at est animi in consequatur. Non voluptas ex et fugiat ut non et."
},
"url": {
"en": "http://runte.com/corrupti-sit-mollitia-id-accusamus-alias"
}
}
},
{
"id": 16,
"name": "Baron Stracke",
"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": "Autem maxime ut iusto adipisci officiis."
},
"description": {
"en": "Distinctio sint ullam vel odit quia eos earum. Accusamus porro aspernatur nihil suscipit nihil tempora. Sint ratione aut qui aliquid eum dolore a enim."
},
"url": {
"en": "http://morar.com/doloribus-iste-et-perferendis-eveniet-facere-labore"
}
}
},
{
"id": 14,
"name": "Prof. Chanelle Johnston 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": "Doloremque aut est et nihil minima a tempore ab."
},
"description": {
"en": "Harum unde blanditiis sint ullam in corporis quidem. Consequatur reiciendis aut architecto qui labore vitae. Repellendus reprehenderit distinctio alias adipisci nostrum."
},
"url": {
"en": "https://bartoletti.net/animi-facere-doloribus-aspernatur-nulla-consequatur.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
11,
12,
16
]
},
{
"name": "...",
"category_ids": [
18,
17,
12
]
},
{
"name": "...",
"category_ids": [
11,
11,
16
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:25 - 14:17",
"06:25 - 14:17",
"06:25 - 14:17"
]
},
{
"days": "5",
"times": [
"08:42 - 10:56",
"08:42 - 10:56",
"08:42 - 10:56"
]
},
{
"days": "5",
"times": [
"09:28 - 17:11",
"09:28 - 17:11",
"09:28 - 17:11"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:57 - 17:33",
"09:57 - 17:33",
"09:57 - 17:33"
]
},
{
"days": "5",
"times": [
"06:10 - 17:37",
"06:10 - 17:37",
"06:10 - 17:37"
]
},
{
"days": "5",
"times": [
"07:30 - 15:52",
"07:30 - 15:52",
"07:30 - 15:52"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:58 - 18:54",
"06:58 - 18:54",
"06:58 - 18:54"
]
},
{
"days": "5",
"times": [
"06:39 - 19:38",
"06:39 - 19:38",
"06:39 - 19:38"
]
},
{
"days": "5",
"times": [
"08:36 - 12:32",
"08:36 - 12:32",
"08:36 - 12: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"
}
]