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.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 |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 39383
[
{
"id": 13,
"name": "Myah Schiller",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 17,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 12,
"minimum": 13
},
{
"type": "product",
"item_id": 12,
"percentage": 13,
"minimum": 18
},
{
"type": "product",
"item_id": 17,
"percentage": 16,
"minimum": 10
}
]
},
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 16,
"minimum": 11
},
{
"type": "product",
"item_id": 17,
"percentage": 11,
"minimum": 17
},
{
"type": "product",
"item_id": 13,
"percentage": 17,
"minimum": 16
}
]
},
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 13,
"minimum": 13
},
{
"type": "product",
"item_id": 10,
"percentage": 15,
"minimum": 18
},
{
"type": "product",
"item_id": 11,
"percentage": 16,
"minimum": 10
}
]
}
],
"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": "Addison Littel",
"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": "Dolorem commodi sit qui reiciendis quam."
},
"description": {
"en": "Consequatur eius dolores dicta aut expedita. Ducimus qui asperiores eum nam neque. Rerum est tempore aut."
},
"url": {
"en": "http://www.wisozk.info/fuga-et-similique-doloribus-omnis-aut-vel-nostrum.html"
}
}
},
{
"id": 18,
"name": "Mr. Sigrid Stracke DDS",
"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": "Quae odit nesciunt doloribus ea nulla cupiditate et voluptatum minus velit."
},
"description": {
"en": "Itaque explicabo distinctio ut quia perferendis quasi beatae fugiat. Ullam perspiciatis et magnam eveniet eum qui iste. Est qui est dolorem nihil fugit cupiditate et quidem."
},
"url": {
"en": "http://www.bednar.org/"
}
}
},
{
"id": 13,
"name": "Mariana Metz",
"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": "Magni culpa et velit esse qui et ratione voluptates qui eaque."
},
"description": {
"en": "Voluptatibus corporis ea voluptate odio voluptatum. Et eos consequatur sit repellendus libero et similique. At atque dolorem quidem."
},
"url": {
"en": "http://www.gutkowski.info/iste-saepe-et-nostrum-sed-praesentium-aut.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
10,
13,
19
]
},
{
"name": "...",
"category_ids": [
10,
15,
14
]
},
{
"name": "...",
"category_ids": [
12,
15,
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"
}
]
},
{
"id": 12,
"name": "Loyce Hill",
"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": 10,
"percentage": 13,
"minimum": 13
},
{
"type": "product",
"item_id": 18,
"percentage": 14,
"minimum": 12
},
{
"type": "product",
"item_id": 15,
"percentage": 19,
"minimum": 12
}
]
},
{
"id": 14,
"name": "...",
"items": [
{
"type": "product",
"item_id": 16,
"percentage": 16,
"minimum": 13
},
{
"type": "product",
"item_id": 15,
"percentage": 16,
"minimum": 13
},
{
"type": "product",
"item_id": 17,
"percentage": 13,
"minimum": 14
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 19,
"minimum": 17
},
{
"type": "product",
"item_id": 16,
"percentage": 16,
"minimum": 17
},
{
"type": "product",
"item_id": 17,
"percentage": 16,
"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": false,
"categories": [
{
"id": 17,
"name": "Frederique Mraz",
"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 natus voluptas non odio aut quod harum deserunt laudantium."
},
"description": {
"en": "Eos repellendus vel beatae consequatur est harum laboriosam. Ullam voluptate nihil sit excepturi voluptatem. Et praesentium sint sequi eum esse accusantium maiores."
},
"url": {
"en": "https://gerlach.biz/voluptas-voluptas-tempore-voluptatem-porro-consequatur-nihil.html"
}
}
},
{
"id": 14,
"name": "Warren Sawayn",
"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": "Excepturi ipsa at repudiandae aut quia."
},
"description": {
"en": "Pariatur ut eligendi nobis asperiores voluptatem non dignissimos. Consequuntur dolorem ipsa vel occaecati asperiores in aut. Expedita et aut harum totam quia."
},
"url": {
"en": "http://www.hegmann.net/consequatur-provident-voluptatem-et-eligendi-non-sed"
}
}
},
{
"id": 14,
"name": "Ms. America Yundt",
"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": "Ratione sapiente vitae mollitia odio repudiandae."
},
"description": {
"en": "Vitae nobis dolorum expedita saepe. Facere voluptatum ad minima repellendus quia ut. Dolores quod ut corrupti perspiciatis eum nam a."
},
"url": {
"en": "http://johnston.com/mollitia-nisi-ut-sunt-voluptatem-deserunt-aliquid"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
14,
19,
10
]
},
{
"name": "...",
"category_ids": [
18,
16,
16
]
},
{
"name": "...",
"category_ids": [
12,
18,
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"
}
]
},
{
"id": 17,
"name": "Kory Wiegand",
"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": 16,
"percentage": 13,
"minimum": 15
},
{
"type": "product",
"item_id": 13,
"percentage": 18,
"minimum": 12
},
{
"type": "product",
"item_id": 18,
"percentage": 19,
"minimum": 18
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 13,
"minimum": 17
},
{
"type": "product",
"item_id": 11,
"percentage": 14,
"minimum": 11
},
{
"type": "product",
"item_id": 14,
"percentage": 10,
"minimum": 15
}
]
},
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 14,
"minimum": 19
},
{
"type": "product",
"item_id": 16,
"percentage": 19,
"minimum": 19
},
{
"type": "product",
"item_id": 15,
"percentage": 11,
"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": true
}
},
"allow_comments": true,
"allow_orders": false,
"delivery_use_intervals": false,
"categories": [
{
"id": 18,
"name": "Dr. Timothy Hammes 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": "Distinctio cum aspernatur excepturi consequatur est velit."
},
"description": {
"en": "Animi voluptatum quibusdam vel cum. Voluptatem perspiciatis voluptatum libero. Vel reprehenderit eum quas modi assumenda unde quasi. Repudiandae sapiente facere est consequuntur culpa."
},
"url": {
"en": "https://www.schowalter.org/maiores-et-ab-enim-et-quos"
}
}
},
{
"id": 15,
"name": "Carlee Watsica",
"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": "Eos explicabo illo saepe velit facere id eligendi at quod cupiditate."
},
"description": {
"en": "Iusto veniam neque consequuntur eos in. Qui voluptatem repellat in et ut beatae rerum. Omnis sapiente molestias non quo quidem dolor natus soluta."
},
"url": {
"en": "http://www.torphy.net/"
}
}
},
{
"id": 17,
"name": "Joseph Hayes",
"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": "Repudiandae ut fugit sit quibusdam sit consequatur."
},
"description": {
"en": "Rerum quos iste totam vel sit et qui consequatur. Consequatur vitae exercitationem vitae. Sunt voluptate enim optio velit pariatur."
},
"url": {
"en": "https://kuhic.com/molestias-accusantium-et-quis-recusandae.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
17,
17,
17
]
},
{
"name": "...",
"category_ids": [
15,
13,
14
]
},
{
"name": "...",
"category_ids": [
17,
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"
}
]
}
]