GET /shops/recent
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
GET /shops/recent HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.2.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: 39394
[
{
"id": 14,
"name": "Maritza Bergnaum",
"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": 12,
"minimum": 18
},
{
"type": "product",
"item_id": 10,
"percentage": 10,
"minimum": 19
},
{
"type": "product",
"item_id": 15,
"percentage": 14,
"minimum": 14
}
]
},
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 16,
"percentage": 15,
"minimum": 10
},
{
"type": "product",
"item_id": 18,
"percentage": 18,
"minimum": 13
},
{
"type": "product",
"item_id": 16,
"percentage": 19,
"minimum": 11
}
]
},
{
"id": 16,
"name": "...",
"items": [
{
"type": "product",
"item_id": 10,
"percentage": 16,
"minimum": 10
},
{
"type": "product",
"item_id": 11,
"percentage": 13,
"minimum": 16
},
{
"type": "product",
"item_id": 12,
"percentage": 13,
"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": false
}
},
"allow_comments": false,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 19,
"name": "Dahlia Kutch",
"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 impedit numquam molestiae molestias."
},
"description": {
"en": "Ad eos optio neque non. Sint rerum ut quis aut adipisci eius. Repellendus ducimus minus dicta consequuntur sed."
},
"url": {
"en": "http://bailey.com/amet-et-sit-id-est-consequatur-sed"
}
}
},
{
"id": 14,
"name": "Oleta Thompson",
"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": "Reprehenderit veniam consequuntur nulla qui provident iste sed voluptatem occaecati quos."
},
"description": {
"en": "Maxime quo sed rerum fugiat ut nulla cumque. Voluptatem ad iusto corporis nihil explicabo. Optio earum incidunt quod molestias. Mollitia et dolor in nihil doloremque necessitatibus."
},
"url": {
"en": "https://miller.net/illum-est-reiciendis-esse-rem-et-dicta-nisi.html"
}
}
},
{
"id": 18,
"name": "Annamarie Dietrich",
"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": "Est porro consequatur perspiciatis inventore eum nesciunt veritatis consequatur."
},
"description": {
"en": "Molestiae perspiciatis molestiae labore explicabo natus unde rerum. Quo accusamus nam earum nemo. Sed quaerat incidunt atque tempora rerum."
},
"url": {
"en": "https://barrows.net/aut-autem-sed-illo-quas-ipsa-dolorem-repudiandae.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
15,
10,
18
]
},
{
"name": "...",
"category_ids": [
14,
14,
12
]
},
{
"name": "...",
"category_ids": [
12,
16,
15
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:34 - 14:43",
"08:34 - 14:43",
"08:34 - 14:43"
]
},
{
"days": "5",
"times": [
"09:19 - 18:59",
"09:19 - 18:59",
"09:19 - 18:59"
]
},
{
"days": "5",
"times": [
"09:11 - 17:16",
"09:11 - 17:16",
"09:11 - 17:16"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:23 - 15:26",
"09:23 - 15:26",
"09:23 - 15:26"
]
},
{
"days": "5",
"times": [
"08:37 - 13:18",
"08:37 - 13:18",
"08:37 - 13:18"
]
},
{
"days": "5",
"times": [
"06:35 - 20:37",
"06:35 - 20:37",
"06:35 - 20:37"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:42 - 10:22",
"07:42 - 10:22",
"07:42 - 10:22"
]
},
{
"days": "5",
"times": [
"08:40 - 18:40",
"08:40 - 18:40",
"08:40 - 18:40"
]
},
{
"days": "5",
"times": [
"07:51 - 16:17",
"07:51 - 16:17",
"07:51 - 16:17"
]
}
]
}
],
"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": 14,
"name": "Prof. Valentine Lesch V",
"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": 10,
"minimum": 13
},
{
"type": "product",
"item_id": 13,
"percentage": 15,
"minimum": 12
},
{
"type": "product",
"item_id": 10,
"percentage": 16,
"minimum": 12
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 14,
"percentage": 13,
"minimum": 14
},
{
"type": "product",
"item_id": 16,
"percentage": 11,
"minimum": 11
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 11
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 17,
"minimum": 12
},
{
"type": "product",
"item_id": 11,
"percentage": 14,
"minimum": 13
},
{
"type": "product",
"item_id": 19,
"percentage": 12,
"minimum": 17
}
]
}
],
"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": 17,
"name": "Dr. Alberto Kessler",
"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": "Est non non nulla mollitia et dicta dignissimos dolorum."
},
"description": {
"en": "Unde suscipit sunt quia ad veritatis velit. Eos corporis non ipsam. Accusamus eos quia dolor accusantium voluptatem in et."
},
"url": {
"en": "http://schumm.com/aperiam-incidunt-minus-consequuntur-eius-totam"
}
}
},
{
"id": 16,
"name": "Ottilie Williamson 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": "Optio debitis similique quidem quia."
},
"description": {
"en": "Et exercitationem quia nulla. Numquam sit nihil sunt sunt quod sequi veritatis quisquam. Saepe tenetur omnis voluptatum distinctio. Est ea quis non quisquam qui."
},
"url": {
"en": "http://www.nolan.net/fuga-rem-id-omnis-qui-suscipit-est"
}
}
},
{
"id": 11,
"name": "Samara Koch",
"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": "Voluptas voluptatum et ut libero nisi est eum."
},
"description": {
"en": "Sed repellat natus dolorem dolorum sapiente et sed ipsa. Alias omnis nulla omnis labore inventore consequatur provident. Perferendis aut ut eum autem vel quo facilis."
},
"url": {
"en": "http://www.lockman.com/fugiat-et-veritatis-ut-impedit-optio"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
19,
18,
16
]
},
{
"name": "...",
"category_ids": [
13,
15,
14
]
},
{
"name": "...",
"category_ids": [
10,
11,
16
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:55 - 12:32",
"07:55 - 12:32",
"07:55 - 12:32"
]
},
{
"days": "5",
"times": [
"08:24 - 18:26",
"08:24 - 18:26",
"08:24 - 18:26"
]
},
{
"days": "5",
"times": [
"06:39 - 21:55",
"06:39 - 21:55",
"06:39 - 21:55"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:54 - 20:33",
"06:54 - 20:33",
"06:54 - 20:33"
]
},
{
"days": "5",
"times": [
"07:13 - 21:22",
"07:13 - 21:22",
"07:13 - 21:22"
]
},
{
"days": "5",
"times": [
"06:44 - 12:12",
"06:44 - 12:12",
"06:44 - 12:12"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:39 - 20:11",
"07:39 - 20:11",
"07:39 - 20:11"
]
},
{
"days": "5",
"times": [
"06:55 - 11:24",
"06:55 - 11:24",
"06:55 - 11:24"
]
},
{
"days": "5",
"times": [
"08:27 - 16:53",
"08:27 - 16:53",
"08:27 - 16:53"
]
}
]
}
],
"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": "Dr. Brenden Hessel",
"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": 13,
"percentage": 11,
"minimum": 17
},
{
"type": "product",
"item_id": 18,
"percentage": 17,
"minimum": 14
},
{
"type": "product",
"item_id": 17,
"percentage": 16,
"minimum": 14
}
]
},
{
"id": 14,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 14,
"minimum": 13
},
{
"type": "product",
"item_id": 17,
"percentage": 18,
"minimum": 16
},
{
"type": "product",
"item_id": 11,
"percentage": 19,
"minimum": 17
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 11,
"percentage": 13,
"minimum": 14
},
{
"type": "product",
"item_id": 11,
"percentage": 18,
"minimum": 17
},
{
"type": "product",
"item_id": 18,
"percentage": 15,
"minimum": 17
}
]
}
],
"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": false,
"delivery_use_intervals": false,
"categories": [
{
"id": 19,
"name": "Mrs. Raquel Smith 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": "Ipsum modi quod magni dolor natus repellat consequatur."
},
"description": {
"en": "Voluptatibus dolorem et sed maiores. Ut voluptas ea magni sequi fugiat et. Eligendi ipsam aut eos fuga assumenda eaque voluptatibus."
},
"url": {
"en": "http://www.reilly.net/culpa-est-vitae-quam-at-sunt-expedita-pariatur"
}
}
},
{
"id": 19,
"name": "Dr. Howell Donnelly 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": "Laudantium dolorum molestiae omnis consequatur ipsam et animi qui."
},
"description": {
"en": "Laborum nihil neque consequuntur temporibus quas quas. Eos est eos nobis quasi possimus accusamus qui aut. Tenetur animi iusto sed quae iure. Consectetur tempora esse eveniet dolor sed at et."
},
"url": {
"en": "http://konopelski.com/nihil-rerum-minus-qui-quis-totam-est-qui-tenetur"
}
}
},
{
"id": 12,
"name": "Abbie Nienow",
"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 assumenda laudantium dignissimos incidunt omnis nesciunt eligendi vitae quo id."
},
"description": {
"en": "Qui doloremque non quidem sit maiores vitae aliquam debitis. A consequuntur qui quia odit possimus excepturi et. Qui sint et voluptatem in similique."
},
"url": {
"en": "http://rosenbaum.com/et-eius-fugit-consequatur-sint-molestiae"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
17,
19,
13
]
},
{
"name": "...",
"category_ids": [
19,
18,
10
]
},
{
"name": "...",
"category_ids": [
19,
12,
15
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:47 - 11:43",
"07:47 - 11:43",
"07:47 - 11:43"
]
},
{
"days": "5",
"times": [
"08:53 - 17:17",
"08:53 - 17:17",
"08:53 - 17:17"
]
},
{
"days": "5",
"times": [
"09:30 - 20:16",
"09:30 - 20:16",
"09:30 - 20:16"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:20 - 19:35",
"07:20 - 19:35",
"07:20 - 19:35"
]
},
{
"days": "5",
"times": [
"07:58 - 18:33",
"07:58 - 18:33",
"07:58 - 18:33"
]
},
{
"days": "5",
"times": [
"09:28 - 12:21",
"09:28 - 12:21",
"09:28 - 12:21"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:21 - 17:23",
"06:21 - 17:23",
"06:21 - 17:23"
]
},
{
"days": "5",
"times": [
"06:31 - 21:41",
"06:31 - 21:41",
"06:31 - 21:41"
]
},
{
"days": "5",
"times": [
"08:47 - 12:47",
"08:47 - 12:47",
"08:47 - 12:47"
]
}
]
}
],
"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"
}
]