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.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 | 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: 39463
[
{
"id": 14,
"name": "Angelica Mueller DVM",
"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": 15,
"percentage": 11,
"minimum": 19
},
{
"type": "product",
"item_id": 16,
"percentage": 18,
"minimum": 12
},
{
"type": "product",
"item_id": 19,
"percentage": 18,
"minimum": 18
}
]
},
{
"id": 14,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 12,
"minimum": 15
},
{
"type": "product",
"item_id": 12,
"percentage": 18,
"minimum": 15
},
{
"type": "product",
"item_id": 10,
"percentage": 17,
"minimum": 12
}
]
},
{
"id": 18,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 10,
"minimum": 11
},
{
"type": "product",
"item_id": 11,
"percentage": 19,
"minimum": 11
},
{
"type": "product",
"item_id": 19,
"percentage": 18,
"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": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 10,
"name": "Dina Brakus",
"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": "Doloribus occaecati quae nam doloremque ut eveniet corporis facere."
},
"description": {
"en": "Excepturi qui itaque placeat fuga rerum occaecati molestias. Nobis rerum mollitia minus qui est repellendus debitis ducimus. A in dignissimos quia ut et nostrum voluptate."
},
"url": {
"en": "http://www.treutel.com/est-aut-in-ducimus-enim-sequi"
}
}
},
{
"id": 18,
"name": "Juanita Roob",
"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 distinctio ipsa fugit iusto qui iste eum quae sed."
},
"description": {
"en": "Suscipit cum similique voluptate. Rerum incidunt nobis distinctio quibusdam quam. Doloribus ipsa perferendis tempore illum labore."
},
"url": {
"en": "http://www.rosenbaum.biz/odit-voluptatem-itaque-perferendis-ut-placeat-consequatur-eos"
}
}
},
{
"id": 14,
"name": "Ms. Julia Walker",
"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": "Qui eos sunt hic necessitatibus aut velit aliquam."
},
"description": {
"en": "Labore debitis nihil doloribus quo cumque. Sint mollitia ipsa qui voluptatem fuga non. Minima architecto et ea qui."
},
"url": {
"en": "https://graham.info/dolor-vel-sunt-odio-rerum-inventore-perspiciatis-et.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
18,
19,
17
]
},
{
"name": "...",
"category_ids": [
17,
19,
14
]
},
{
"name": "...",
"category_ids": [
14,
18,
18
]
}
],
"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": 19,
"name": "Gilbert Connelly",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 10,
"percentage": 19,
"minimum": 16
},
{
"type": "product",
"item_id": 13,
"percentage": 13,
"minimum": 16
},
{
"type": "product",
"item_id": 17,
"percentage": 10,
"minimum": 13
}
]
},
{
"id": 17,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 12,
"minimum": 19
},
{
"type": "product",
"item_id": 17,
"percentage": 14,
"minimum": 14
},
{
"type": "product",
"item_id": 17,
"percentage": 15,
"minimum": 19
}
]
},
{
"id": 11,
"name": "...",
"items": [
{
"type": "product",
"item_id": 10,
"percentage": 14,
"minimum": 14
},
{
"type": "product",
"item_id": 12,
"percentage": 15,
"minimum": 18
},
{
"type": "product",
"item_id": 10,
"percentage": 15,
"minimum": 19
}
]
}
],
"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": false,
"categories": [
{
"id": 16,
"name": "Coralie Mohr",
"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": "Ducimus vitae accusantium quo error laborum rerum ratione unde est et."
},
"description": {
"en": "Et rem et nam commodi laudantium. Dolores placeat qui illum aperiam quia corporis qui. Et repellat non dolor magnam consequatur eum placeat. Aut unde atque quidem quae omnis id atque."
},
"url": {
"en": "https://schmidt.info/quibusdam-eligendi-rerum-mollitia-at-excepturi-corrupti.html"
}
}
},
{
"id": 16,
"name": "Jessica Langosh",
"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": "Dolorum iusto voluptatibus ut quia voluptatum harum et eos molestiae."
},
"description": {
"en": "Ea distinctio iste aliquam deserunt qui. Eligendi magnam sunt occaecati perspiciatis quis nisi non. Incidunt ratione omnis aut recusandae eveniet."
},
"url": {
"en": "https://www.schuster.com/recusandae-incidunt-voluptas-nisi-repellat-rerum-accusamus"
}
}
},
{
"id": 13,
"name": "Prof. Quincy Mann Sr.",
"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": "Vel saepe deserunt natus maiores perspiciatis ab incidunt quia deserunt."
},
"description": {
"en": "Qui animi deleniti qui cumque qui eum amet. Reiciendis et sunt ut qui iusto. Qui ea veniam ut aut voluptas."
},
"url": {
"en": "http://rosenbaum.net/"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
16,
16,
19
]
},
{
"name": "...",
"category_ids": [
16,
11,
17
]
},
{
"name": "...",
"category_ids": [
10,
13,
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": 19,
"name": "Sylvan Gusikowski",
"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": 16,
"percentage": 16,
"minimum": 19
},
{
"type": "product",
"item_id": 10,
"percentage": 15,
"minimum": 10
},
{
"type": "product",
"item_id": 10,
"percentage": 18,
"minimum": 14
}
]
},
{
"id": 16,
"name": "...",
"items": [
{
"type": "product",
"item_id": 12,
"percentage": 16,
"minimum": 18
},
{
"type": "product",
"item_id": 14,
"percentage": 10,
"minimum": 12
},
{
"type": "product",
"item_id": 19,
"percentage": 19,
"minimum": 18
}
]
},
{
"id": 18,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 19,
"minimum": 17
},
{
"type": "product",
"item_id": 10,
"percentage": 10,
"minimum": 12
},
{
"type": "product",
"item_id": 18,
"percentage": 16,
"minimum": 19
}
]
}
],
"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": 11,
"name": "Viva Goodwin",
"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": "Ab aut et qui suscipit voluptatem soluta voluptatem quod."
},
"description": {
"en": "Ut aliquam molestias quidem doloremque excepturi. Repudiandae repellendus ad illum et. Autem officiis iste consequatur."
},
"url": {
"en": "http://www.hessel.net/animi-inventore-quia-nihil-porro-totam-facilis.html"
}
}
},
{
"id": 15,
"name": "Louisa Aufderhar",
"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": "Sed dignissimos id alias facilis ea temporibus."
},
"description": {
"en": "Dicta et ea aut. Quia repellat itaque et harum alias iure officia voluptas. Fugiat laboriosam quibusdam perferendis quos porro. Dolorum dolorem voluptates nam qui."
},
"url": {
"en": "http://bernhard.com/mollitia-nisi-dolores-aut-qui-aspernatur-ex"
}
}
},
{
"id": 16,
"name": "Lora Schowalter",
"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": "Quam quam consequuntur delectus distinctio delectus sed aliquam incidunt."
},
"description": {
"en": "Qui ex eligendi nihil et sed quia cumque fuga. Est occaecati perspiciatis et nihil perspiciatis. Similique alias accusamus natus consectetur qui cum numquam."
},
"url": {
"en": "http://reilly.com/inventore-fugiat-iure-cumque-expedita-maiores-qui-illo"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
18,
11,
13
]
},
{
"name": "...",
"category_ids": [
18,
18,
16
]
},
{
"name": "...",
"category_ids": [
16,
14,
19
]
}
],
"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"
}
]
}
]