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.1.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: 39345
[
{
"id": 18,
"name": "Alessandra Jacobs",
"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": 14,
"percentage": 17,
"minimum": 19
},
{
"type": "product",
"item_id": 19,
"percentage": 15,
"minimum": 13
},
{
"type": "product",
"item_id": 16,
"percentage": 17,
"minimum": 14
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 16,
"minimum": 10
},
{
"type": "product",
"item_id": 10,
"percentage": 12,
"minimum": 15
},
{
"type": "product",
"item_id": 16,
"percentage": 14,
"minimum": 19
}
]
},
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 12,
"percentage": 11,
"minimum": 11
},
{
"type": "product",
"item_id": 14,
"percentage": 13,
"minimum": 10
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"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": true
}
},
"allow_comments": false,
"allow_orders": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 17,
"name": "Miracle 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": "Rerum suscipit voluptatum ipsum est."
},
"description": {
"en": "Quisquam maiores cupiditate nostrum quis. Ullam in est exercitationem placeat. Consequatur aliquam illo repellat. Sequi non ipsa laboriosam qui."
},
"url": {
"en": "http://www.gleichner.org/voluptatem-voluptatibus-mollitia-nisi-fuga-officia-itaque-magnam-ducimus.html"
}
}
},
{
"id": 13,
"name": "Mr. Santa Dickinson IV",
"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": "In cupiditate corporis cum dolorem aut tenetur ea maxime."
},
"description": {
"en": "Impedit consequuntur aliquid sequi possimus. Voluptatem enim voluptates unde. Ab sint voluptas sequi amet."
},
"url": {
"en": "http://www.lang.com/"
}
}
},
{
"id": 12,
"name": "Dr. Lillian Turner",
"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": "Aliquam aliquid nihil labore est nulla soluta occaecati itaque enim est."
},
"description": {
"en": "Dolorem blanditiis ut quibusdam et totam necessitatibus. Non ab nihil doloribus. Quaerat ipsa vel asperiores molestiae. Aut eius magnam quas laboriosam quam soluta."
},
"url": {
"en": "http://stiedemann.biz/illo-quia-possimus-at-quia-a-autem-officia"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
12,
18,
16
]
},
{
"name": "...",
"category_ids": [
14,
19,
17
]
},
{
"name": "...",
"category_ids": [
11,
12,
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"
},
{
"id": 12,
"name": "Enrique Okuneva",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 19,
"minimum": 13
},
{
"type": "product",
"item_id": 10,
"percentage": 16,
"minimum": 11
},
{
"type": "product",
"item_id": 15,
"percentage": 18,
"minimum": 12
}
]
},
{
"id": 11,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 18,
"minimum": 12
},
{
"type": "product",
"item_id": 11,
"percentage": 15,
"minimum": 17
},
{
"type": "product",
"item_id": 10,
"percentage": 18,
"minimum": 15
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 12,
"percentage": 16,
"minimum": 18
},
{
"type": "product",
"item_id": 17,
"percentage": 18,
"minimum": 12
},
{
"type": "product",
"item_id": 19,
"percentage": 14,
"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": true
}
},
"allow_comments": true,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 11,
"name": "Dr. Lavern Price",
"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": "Beatae et corrupti provident reprehenderit qui aut et."
},
"description": {
"en": "Eligendi corporis cupiditate omnis in aut culpa. Nemo totam assumenda qui repudiandae magni nam. Voluptates est consequatur delectus quis eum atque qui. Error sequi nihil a suscipit omnis."
},
"url": {
"en": "http://hoppe.com/"
}
}
},
{
"id": 11,
"name": "Foster Boehm",
"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": "Ea saepe autem ipsam aut rerum veritatis cupiditate."
},
"description": {
"en": "Sapiente molestiae enim nobis eius. Eos accusamus saepe dolore dolor cum ea ipsa. Nesciunt sint ea eius dolorum quos. Qui omnis adipisci quidem sunt vero."
},
"url": {
"en": "http://www.volkman.com/voluptatibus-amet-adipisci-deserunt-amet-dolore-beatae-in-qui"
}
}
},
{
"id": 13,
"name": "Dr. Quinn Kertzmann PhD",
"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": "Vero explicabo soluta ex aut et minus molestiae ut."
},
"description": {
"en": "Possimus iusto molestiae fugiat tenetur. Saepe et quae natus. Ut ut adipisci necessitatibus."
},
"url": {
"en": "https://mills.biz/a-ut-soluta-voluptates-explicabo-earum-rerum.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
16,
18,
15
]
},
{
"name": "...",
"category_ids": [
14,
11,
14
]
},
{
"name": "...",
"category_ids": [
17,
10,
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"
}
],
"currency": "EUR"
},
{
"id": 13,
"name": "Michelle Gislason",
"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": 17,
"percentage": 11,
"minimum": 10
},
{
"type": "product",
"item_id": 12,
"percentage": 14,
"minimum": 19
},
{
"type": "product",
"item_id": 17,
"percentage": 12,
"minimum": 17
}
]
},
{
"id": 17,
"name": "...",
"items": [
{
"type": "product",
"item_id": 18,
"percentage": 14,
"minimum": 11
},
{
"type": "product",
"item_id": 18,
"percentage": 12,
"minimum": 19
},
{
"type": "product",
"item_id": 17,
"percentage": 11,
"minimum": 17
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 12,
"percentage": 12,
"minimum": 14
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 17
},
{
"type": "product",
"item_id": 15,
"percentage": 12,
"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": false
}
},
"allow_comments": false,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 18,
"name": "Dr. Wyatt Murphy",
"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": "Maxime tenetur velit sit qui similique incidunt."
},
"description": {
"en": "Debitis culpa inventore harum impedit molestiae quis. Sed nesciunt cum repellendus in iusto qui. Debitis id sequi a id quis non odit qui. Doloremque nobis accusamus aut doloribus."
},
"url": {
"en": "http://mayert.com/"
}
}
},
{
"id": 13,
"name": "Alivia Ruecker",
"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 officiis et nesciunt hic."
},
"description": {
"en": "Velit voluptatem nobis neque porro. Est enim nobis possimus harum. Cumque quos vel maxime velit. Quam reiciendis aut repudiandae totam velit voluptas."
},
"url": {
"en": "http://krajcik.net/quis-ipsam-cum-iusto-error-fuga-eum.html"
}
}
},
{
"id": 18,
"name": "Ms. Annamae 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": "Dolor sint eveniet sit qui voluptatem."
},
"description": {
"en": "Reprehenderit perspiciatis aliquid unde. Et labore labore voluptatibus quia sed. Aut eveniet adipisci voluptates odio."
},
"url": {
"en": "http://www.veum.biz/qui-officia-doloremque-sed-dolores-non-eligendi.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
11,
13,
14
]
},
{
"name": "...",
"category_ids": [
18,
13,
10
]
},
{
"name": "...",
"category_ids": [
13,
11,
16
]
}
],
"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"
}
]