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: 0.2.2
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 |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 39251
[
{
"id": 15,
"name": "Prof. Grant Cremin",
"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": 17,
"percentage": 19,
"minimum": 13
},
{
"type": "product",
"item_id": 13,
"percentage": 18,
"minimum": 12
},
{
"type": "product",
"item_id": 16,
"percentage": 16,
"minimum": 19
}
]
},
{
"id": 15,
"name": "...",
"items": [
{
"type": "product",
"item_id": 18,
"percentage": 17,
"minimum": 15
},
{
"type": "product",
"item_id": 15,
"percentage": 12,
"minimum": 16
},
{
"type": "product",
"item_id": 16,
"percentage": 11,
"minimum": 18
}
]
},
{
"id": 15,
"name": "...",
"items": [
{
"type": "product",
"item_id": 16,
"percentage": 11,
"minimum": 12
},
{
"type": "product",
"item_id": 11,
"percentage": 13,
"minimum": 15
},
{
"type": "product",
"item_id": 10,
"percentage": 10,
"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": true,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 13,
"name": "Haven Cummings 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": "Earum culpa quam molestiae et impedit illo ut et."
},
"description": {
"en": "Est error consequatur temporibus error architecto optio at. Vel sed ipsam aspernatur esse a facilis. Veniam sunt vel laborum quos."
},
"url": {
"en": "http://www.mayert.com/quae-qui-nesciunt-qui-animi-tempore-repudiandae-laudantium.html"
}
}
},
{
"id": 17,
"name": "Davon Heidenreich",
"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": "Cum a quia placeat debitis odio itaque commodi sunt autem cum."
},
"description": {
"en": "Et expedita consequatur facilis velit. Vero placeat corporis quasi impedit."
},
"url": {
"en": "https://www.wisozk.com/debitis-fugit-doloribus-explicabo-est-aspernatur"
}
}
},
{
"id": 18,
"name": "Ms. Libbie Pouros 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": "Ut ut quaerat quia et incidunt sed dicta et id."
},
"description": {
"en": "Saepe nulla esse harum totam at distinctio. Molestias quam iste temporibus. Eaque animi odit et et iusto. Ex inventore eligendi quia natus earum architecto."
},
"url": {
"en": "http://www.bechtelar.net/"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
11,
10,
13
]
},
{
"name": "...",
"category_ids": [
13,
18,
11
]
},
{
"name": "...",
"category_ids": [
19,
11,
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"
}
]
},
{
"id": 11,
"name": "Juliana Braun",
"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": 12,
"percentage": 13,
"minimum": 13
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 15
},
{
"type": "product",
"item_id": 15,
"percentage": 17,
"minimum": 13
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 19,
"minimum": 11
},
{
"type": "product",
"item_id": 15,
"percentage": 12,
"minimum": 14
},
{
"type": "product",
"item_id": 17,
"percentage": 13,
"minimum": 17
}
]
},
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 11,
"percentage": 11,
"minimum": 14
},
{
"type": "product",
"item_id": 16,
"percentage": 19,
"minimum": 16
},
{
"type": "product",
"item_id": 19,
"percentage": 19,
"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": true
}
},
"allow_comments": false,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 17,
"name": "Mrs. Sabryna Trantow",
"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": "Vero consequatur ipsum molestiae maiores odio quos mollitia molestias accusamus deserunt ea."
},
"description": {
"en": "Veritatis et voluptas dignissimos consectetur sit dolor perferendis optio. Sequi eos cumque praesentium. Ut molestiae in facere id."
},
"url": {
"en": "https://kuhlman.net/ducimus-necessitatibus-veritatis-occaecati-consequuntur-et-consequatur-aut-quod.html"
}
}
},
{
"id": 13,
"name": "Eden Boyle",
"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": "Eveniet consectetur ut ut error quis et aspernatur."
},
"description": {
"en": "Nihil ut et maxime. Consequatur voluptas aut eius voluptatem. Sit velit reprehenderit quaerat deleniti nulla tempore recusandae. Nihil error voluptatem magni et deleniti."
},
"url": {
"en": "http://www.hagenes.com/saepe-rerum-nobis-quasi-est-ut-dolorem-soluta"
}
}
},
{
"id": 18,
"name": "Jaydon Doyle",
"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 hic et eum dolorum pariatur eius corrupti officiis laboriosam."
},
"description": {
"en": "Mollitia eius eaque unde iure vel accusamus placeat. Laboriosam quam quam vel nam ut enim nihil illum. Voluptatem corrupti reiciendis cum dolorem eos."
},
"url": {
"en": "http://www.gutkowski.com/tempora-perferendis-nisi-vero-nobis-nobis-quae-aliquid"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
14,
12,
19
]
},
{
"name": "...",
"category_ids": [
15,
14,
14
]
},
{
"name": "...",
"category_ids": [
18,
18,
11
]
}
],
"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"
}
]
},
{
"id": 14,
"name": "Kayla Schmidt",
"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": 15,
"percentage": 10,
"minimum": 14
},
{
"type": "product",
"item_id": 11,
"percentage": 15,
"minimum": 13
},
{
"type": "product",
"item_id": 17,
"percentage": 18,
"minimum": 17
}
]
},
{
"id": 18,
"name": "...",
"items": [
{
"type": "product",
"item_id": 18,
"percentage": 18,
"minimum": 13
},
{
"type": "product",
"item_id": 16,
"percentage": 18,
"minimum": 16
},
{
"type": "product",
"item_id": 14,
"percentage": 15,
"minimum": 14
}
]
},
{
"id": 15,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 15,
"minimum": 18
},
{
"type": "product",
"item_id": 12,
"percentage": 14,
"minimum": 16
},
{
"type": "product",
"item_id": 10,
"percentage": 16,
"minimum": 18
}
]
}
],
"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": 10,
"name": "Sylvester Bartell",
"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": "Sequi est voluptas consequatur vero at."
},
"description": {
"en": "Qui et cumque eligendi. Itaque molestiae in iusto sequi. Qui voluptate beatae ab earum ab."
},
"url": {
"en": "http://www.nitzsche.net/ut-ut-modi-inventore-ut"
}
}
},
{
"id": 18,
"name": "Cortney Boyer",
"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": "Porro eveniet omnis architecto dolorum aut nesciunt rem."
},
"description": {
"en": "Sit sunt rerum perspiciatis fuga. Necessitatibus cumque nobis esse sequi atque aut repudiandae. Iste similique dolor vel eum."
},
"url": {
"en": "https://shanahan.com/qui-quos-voluptas-qui-consequatur.html"
}
}
},
{
"id": 17,
"name": "Clementina O'Conner",
"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": "Sit neque quia quae est dolorem doloremque id."
},
"description": {
"en": "Explicabo a quae aut corrupti modi autem. Totam distinctio aut animi. Ducimus beatae pariatur qui qui vel."
},
"url": {
"en": "https://schmeler.com/sed-eos-qui-accusantium-ut-vitae.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
18,
11,
10
]
},
{
"name": "...",
"category_ids": [
11,
11,
15
]
},
{
"name": "...",
"category_ids": [
18,
12,
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"
}
]
}
]