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.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 |
currency | Currency | 3 letter ISO 4217 currency name (string) |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 39585
[
{
"id": 11,
"name": "Dr. Roscoe Schmitt",
"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": 19,
"percentage": 18,
"minimum": 19
},
{
"type": "product",
"item_id": 11,
"percentage": 17,
"minimum": 12
},
{
"type": "product",
"item_id": 14,
"percentage": 11,
"minimum": 11
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 14,
"minimum": 19
},
{
"type": "product",
"item_id": 12,
"percentage": 13,
"minimum": 12
},
{
"type": "product",
"item_id": 17,
"percentage": 10,
"minimum": 13
}
]
},
{
"id": 14,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 18,
"minimum": 13
},
{
"type": "product",
"item_id": 14,
"percentage": 19,
"minimum": 13
},
{
"type": "product",
"item_id": 15,
"percentage": 15,
"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": false
}
},
"allow_comments": false,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 16,
"name": "Hazle Stanton",
"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": "Nihil laborum saepe aspernatur a et nesciunt dolorum enim neque."
},
"description": {
"en": "Dolore modi cum doloribus dolor cumque. Qui et culpa placeat rem suscipit a."
},
"url": {
"en": "http://koch.com/consectetur-doloribus-eaque-inventore-consequatur.html"
}
}
},
{
"id": 10,
"name": "Jaren Carroll",
"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": "Illo corporis at doloribus ut laborum earum fugit."
},
"description": {
"en": "Sapiente non culpa provident quae nostrum sunt. Illo dolorum deserunt repellat voluptatem voluptatem. Eos dolor aut consequatur vel tenetur necessitatibus enim. Enim non tenetur ut distinctio fugit."
},
"url": {
"en": "http://www.reilly.net/"
}
}
},
{
"id": 15,
"name": "Mr. Austen Green",
"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": "Omnis iusto asperiores sit rerum laudantium qui rerum aperiam molestiae saepe soluta."
},
"description": {
"en": "Voluptates non ut maiores quisquam aspernatur ut natus. Cupiditate non laudantium accusamus ut aut quos. Asperiores saepe porro quae. Natus et molestiae corporis et eaque sapiente."
},
"url": {
"en": "https://www.collins.com/dolores-cum-commodi-eos-possimus-et-adipisci-rem-enim"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
13,
16,
18
]
},
{
"name": "...",
"category_ids": [
12,
14,
11
]
},
{
"name": "...",
"category_ids": [
14,
18,
15
]
}
],
"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": 13,
"name": "Ben Heller",
"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": 16,
"minimum": 13
},
{
"type": "product",
"item_id": 18,
"percentage": 12,
"minimum": 19
},
{
"type": "product",
"item_id": 14,
"percentage": 18,
"minimum": 18
}
]
},
{
"id": 14,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 15,
"minimum": 14
},
{
"type": "product",
"item_id": 15,
"percentage": 10,
"minimum": 10
},
{
"type": "product",
"item_id": 11,
"percentage": 18,
"minimum": 15
}
]
},
{
"id": 11,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 12,
"minimum": 18
},
{
"type": "product",
"item_id": 17,
"percentage": 18,
"minimum": 14
},
{
"type": "product",
"item_id": 18,
"percentage": 19,
"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": false,
"categories": [
{
"id": 19,
"name": "Favian Bailey",
"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": "Voluptatum dolorum unde ipsum natus cum corrupti quidem consequatur et eaque quod."
},
"description": {
"en": "Molestiae iste in voluptatibus enim. Quibusdam cumque qui similique. Eligendi quam ea molestiae recusandae velit expedita. Voluptatem reiciendis molestias consequatur laudantium velit labore est aut."
},
"url": {
"en": "http://beer.biz/sit-fugit-occaecati-molestias.html"
}
}
},
{
"id": 19,
"name": "Ms. Blanca Olson",
"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": "Blanditiis in ducimus aliquam quaerat exercitationem eligendi repellendus est."
},
"description": {
"en": "Eligendi eum unde aut quas non aut dolore quam. Dolores cumque non perspiciatis ut voluptas. Eius incidunt nesciunt mollitia labore dolore voluptatem nihil."
},
"url": {
"en": "http://www.sawayn.com/magnam-mollitia-impedit-ipsum-voluptas-quia-ex-provident.html"
}
}
},
{
"id": 11,
"name": "Mrs. Carolyne Larson 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": "Veritatis eveniet sit voluptates et possimus."
},
"description": {
"en": "Nisi possimus iste error. Culpa voluptatem tempore aut sed dolorum id. Beatae unde soluta eos a ut. Aliquam neque aut voluptas ipsa exercitationem beatae ut."
},
"url": {
"en": "http://dooley.com/officia-quisquam-sint-libero-animi-assumenda-laboriosam-voluptatum"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
12,
13,
16
]
},
{
"name": "...",
"category_ids": [
18,
14,
16
]
},
{
"name": "...",
"category_ids": [
16,
17,
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": 12,
"name": "Kathlyn Haley I",
"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": 15,
"percentage": 16,
"minimum": 14
},
{
"type": "product",
"item_id": 14,
"percentage": 16,
"minimum": 10
},
{
"type": "product",
"item_id": 15,
"percentage": 18,
"minimum": 11
}
]
},
{
"id": 16,
"name": "...",
"items": [
{
"type": "product",
"item_id": 13,
"percentage": 18,
"minimum": 16
},
{
"type": "product",
"item_id": 18,
"percentage": 15,
"minimum": 10
},
{
"type": "product",
"item_id": 12,
"percentage": 18,
"minimum": 14
}
]
},
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 14,
"percentage": 16,
"minimum": 14
},
{
"type": "product",
"item_id": 14,
"percentage": 16,
"minimum": 17
},
{
"type": "product",
"item_id": 14,
"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": false
}
},
"allow_comments": false,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 11,
"name": "Natalia Batz",
"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": "Est ab et molestiae qui ab accusantium."
},
"description": {
"en": "Et quidem dicta nisi. Consequuntur rem assumenda modi quia sed voluptas. Est sit distinctio dolorum."
},
"url": {
"en": "http://jaskolski.com/ullam-et-adipisci-cupiditate-et-atque"
}
}
},
{
"id": 19,
"name": "Santiago Hegmann",
"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": "Modi atque fuga possimus unde quibusdam molestiae saepe excepturi."
},
"description": {
"en": "Eius quod et consectetur molestiae neque rerum. Quia et in ut in est. Et vitae eos enim perspiciatis praesentium."
},
"url": {
"en": "https://balistreri.com/optio-velit-itaque-illo-dolorum-quasi-ullam-quia.html"
}
}
},
{
"id": 19,
"name": "Jeff Smith",
"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": "Doloribus omnis corrupti itaque sed quibusdam aut debitis ratione impedit."
},
"description": {
"en": "Aliquid et qui quia itaque qui repellat excepturi. Rerum fugiat provident at est ipsa dolorem. Quis nulla sit inventore assumenda nisi laborum voluptates."
},
"url": {
"en": "http://www.dickens.com/magni-doloribus-illo-sint-et-deleniti.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
18,
15,
19
]
},
{
"name": "...",
"category_ids": [
19,
14,
16
]
},
{
"name": "...",
"category_ids": [
19,
11,
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"
}
],
"currency": "EUR"
}
]