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.0.1
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 | HoursInfo | Information about opening hours and other delivery method hours |
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: 39435
[
{
"id": 10,
"name": "Winston Koch",
"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": 13,
"minimum": 18
},
{
"type": "product",
"item_id": 19,
"percentage": 16,
"minimum": 15
},
{
"type": "product",
"item_id": 19,
"percentage": 14,
"minimum": 12
}
]
},
{
"id": 11,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 15,
"minimum": 13
},
{
"type": "product",
"item_id": 16,
"percentage": 17,
"minimum": 19
},
{
"type": "product",
"item_id": 15,
"percentage": 19,
"minimum": 10
}
]
},
{
"id": 16,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 15,
"minimum": 10
},
{
"type": "product",
"item_id": 14,
"percentage": 15,
"minimum": 13
},
{
"type": "product",
"item_id": 19,
"percentage": 12,
"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": false
}
},
"allow_comments": false,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 16,
"name": "Alvera Crist",
"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": "Dicta eveniet aut earum et nesciunt fuga."
},
"description": {
"en": "Sit officiis et beatae reiciendis enim et. Distinctio aut est fugit et exercitationem nihil. Sunt ut et esse consequatur. Praesentium dolor architecto qui sint qui. Ut incidunt qui qui a."
},
"url": {
"en": "https://www.moen.com/voluptatem-saepe-deserunt-tempora-ut-maiores-molestias"
}
}
},
{
"id": 12,
"name": "Dario Simonis",
"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": "Magnam qui tempora saepe et adipisci."
},
"description": {
"en": "Consequatur nihil velit eum corrupti eum saepe sit aspernatur. Et fugiat nam voluptatem asperiores totam et iste. Labore animi labore sit nihil quidem maxime minima."
},
"url": {
"en": "http://www.roberts.com/cupiditate-unde-qui-aliquam-ut-laborum.html"
}
}
},
{
"id": 11,
"name": "Ayla O'Conner 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": true
},
"seo": {
"title": {
"en": "Corporis explicabo quia quasi est consectetur inventore qui quae ipsum."
},
"description": {
"en": "Qui vitae labore numquam pariatur voluptatem aut. Quia tempora eius beatae voluptatem. Laboriosam eum quis exercitationem pariatur illo repellendus mollitia assumenda."
},
"url": {
"en": "https://www.sawayn.com/inventore-quos-beatae-sunt"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
11,
18,
13
]
},
{
"name": "...",
"category_ids": [
12,
19,
11
]
},
{
"name": "...",
"category_ids": [
13,
19,
13
]
}
],
"hours": {
"open": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
],
"takeout": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
],
"delivery": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
],
"latch": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
]
},
"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. Chelsie Doyle",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 11,
"percentage": 12,
"minimum": 11
},
{
"type": "product",
"item_id": 11,
"percentage": 14,
"minimum": 11
},
{
"type": "product",
"item_id": 17,
"percentage": 14,
"minimum": 13
}
]
},
{
"id": 16,
"name": "...",
"items": [
{
"type": "product",
"item_id": 11,
"percentage": 16,
"minimum": 14
},
{
"type": "product",
"item_id": 13,
"percentage": 15,
"minimum": 15
},
{
"type": "product",
"item_id": 14,
"percentage": 10,
"minimum": 12
}
]
},
{
"id": 17,
"name": "...",
"items": [
{
"type": "product",
"item_id": 10,
"percentage": 10,
"minimum": 18
},
{
"type": "product",
"item_id": 10,
"percentage": 10,
"minimum": 15
},
{
"type": "product",
"item_id": 11,
"percentage": 19,
"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": false
}
},
"allow_comments": false,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 10,
"name": "Arch Crooks",
"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": "Quia voluptate quia aperiam eum qui sit."
},
"description": {
"en": "Corrupti est minus quidem ea dolorem voluptas. At hic autem odit enim quae qui cupiditate deleniti. Ipsam accusantium blanditiis est quis officiis et voluptate illum."
},
"url": {
"en": "http://goodwin.info/"
}
}
},
{
"id": 16,
"name": "Lorenzo 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": "Quia reprehenderit beatae quidem ea ea quae."
},
"description": {
"en": "Eos et nesciunt animi. Voluptatem aspernatur non qui et. Voluptas quo voluptatibus a reiciendis."
},
"url": {
"en": "http://www.romaguera.com/"
}
}
},
{
"id": 17,
"name": "Dr. Wilmer Kuphal 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": "Provident placeat eveniet nemo eum provident amet vitae reprehenderit occaecati."
},
"description": {
"en": "Et accusamus odit error et culpa. Voluptatibus voluptatibus ex et iure omnis ad ut. Omnis iusto corporis consequuntur."
},
"url": {
"en": "http://dickens.com/natus-ducimus-distinctio-voluptatibus-quidem-molestiae-suscipit-velit-id.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
18,
18,
19
]
},
{
"name": "...",
"category_ids": [
12,
11,
16
]
},
{
"name": "...",
"category_ids": [
18,
18,
12
]
}
],
"hours": {
"open": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
],
"takeout": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
],
"delivery": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
],
"latch": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
]
},
"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": "Mitchell Smitham Sr.",
"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": 12,
"percentage": 17,
"minimum": 17
},
{
"type": "product",
"item_id": 16,
"percentage": 12,
"minimum": 12
},
{
"type": "product",
"item_id": 12,
"percentage": 19,
"minimum": 13
}
]
},
{
"id": 15,
"name": "...",
"items": [
{
"type": "product",
"item_id": 14,
"percentage": 14,
"minimum": 10
},
{
"type": "product",
"item_id": 17,
"percentage": 13,
"minimum": 13
},
{
"type": "product",
"item_id": 12,
"percentage": 16,
"minimum": 12
}
]
},
{
"id": 14,
"name": "...",
"items": [
{
"type": "product",
"item_id": 14,
"percentage": 14,
"minimum": 14
},
{
"type": "product",
"item_id": 19,
"percentage": 19,
"minimum": 10
},
{
"type": "product",
"item_id": 12,
"percentage": 14,
"minimum": 12
}
]
}
],
"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": "Esperanza Zboncak",
"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": "Molestiae nostrum sint pariatur quis et tenetur sed officia."
},
"description": {
"en": "Nisi consequatur qui et. Tenetur delectus animi facere delectus at harum repudiandae. Expedita reprehenderit aut quae nostrum dolor ut eaque temporibus."
},
"url": {
"en": "http://www.hand.com/"
}
}
},
{
"id": 10,
"name": "Taya 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": true
},
"seo": {
"title": {
"en": "Quidem in alias perferendis voluptatem ut."
},
"description": {
"en": "Cupiditate voluptatem fugiat et et iusto architecto. Eligendi qui ipsam ut fuga quae. Incidunt fugit debitis fuga unde ratione velit. Reprehenderit accusantium quaerat voluptas."
},
"url": {
"en": "http://erdman.com/eum-distinctio-dolorum-dolore-consequuntur-nesciunt-dolores.html"
}
}
},
{
"id": 17,
"name": "Dr. Clarabelle Jenkins",
"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": "Sint molestiae sed architecto nemo quasi fugiat facilis."
},
"description": {
"en": "Qui cupiditate hic dolorem adipisci qui ab in. Aliquam architecto nihil et. Nulla non et qui facilis quo minus."
},
"url": {
"en": "https://www.raynor.com/perspiciatis-vel-maxime-consequatur-aliquid-rerum-voluptas-voluptatem-ut"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
12,
17,
14
]
},
{
"name": "...",
"category_ids": [
10,
16,
13
]
},
{
"name": "...",
"category_ids": [
17,
17,
17
]
}
],
"hours": {
"open": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
],
"takeout": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
],
"delivery": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
],
"latch": [
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
},
{
"start": 1,
"end": 1,
"times": [
"...",
"...",
"..."
]
}
]
},
"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"
}
]