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.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: 39438
[
{
"id": 11,
"name": "Miss Lacey Lehner",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 11,
"name": "...",
"items": [
{
"type": "product",
"item_id": 10,
"percentage": 16,
"minimum": 17
},
{
"type": "product",
"item_id": 18,
"percentage": 17,
"minimum": 11
},
{
"type": "product",
"item_id": 13,
"percentage": 18,
"minimum": 10
}
]
},
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 15,
"minimum": 13
},
{
"type": "product",
"item_id": 17,
"percentage": 10,
"minimum": 17
},
{
"type": "product",
"item_id": 18,
"percentage": 18,
"minimum": 19
}
]
},
{
"id": 11,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 14,
"minimum": 19
},
{
"type": "product",
"item_id": 12,
"percentage": 11,
"minimum": 19
},
{
"type": "product",
"item_id": 18,
"percentage": 19,
"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": false,
"allow_orders": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 18,
"name": "Prof. Halle Labadie 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": "Aut distinctio ut labore ipsa qui quod voluptatem quos."
},
"description": {
"en": "Quos pariatur nesciunt delectus officia ipsam in accusantium. Non optio quas est qui ullam vero consequatur possimus. Aspernatur ut et nemo eius velit sapiente natus."
},
"url": {
"en": "https://www.hartmann.info/dolor-eveniet-ut-quia-sunt-odit"
}
}
},
{
"id": 19,
"name": "Dr. Ezra Wilderman",
"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": "Et sed eos delectus natus ab eligendi consequatur dolor."
},
"description": {
"en": "Ullam recusandae non ratione voluptas optio ut non alias. Consequatur accusantium dicta similique in. Nemo architecto quia et ad ut nostrum ab blanditiis. Accusamus est atque ut vitae."
},
"url": {
"en": "http://www.ohara.net/voluptatibus-perferendis-esse-quod-ut-voluptas-optio-animi"
}
}
},
{
"id": 11,
"name": "Herta Rosenbaum 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": false
},
"seo": {
"title": {
"en": "Ut libero aspernatur alias consequatur et rerum."
},
"description": {
"en": "Enim soluta deserunt in iste et laudantium. Quasi quidem omnis aut et. Aut sit rerum iure voluptatem ut. Id id laboriosam non."
},
"url": {
"en": "http://www.botsford.com/iste-quia-explicabo-harum.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
19,
10,
17
]
},
{
"name": "...",
"category_ids": [
18,
12,
18
]
},
{
"name": "...",
"category_ids": [
18,
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": 16,
"name": "Erna Leuschke",
"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": 10,
"minimum": 16
},
{
"type": "product",
"item_id": 12,
"percentage": 13,
"minimum": 11
},
{
"type": "product",
"item_id": 19,
"percentage": 13,
"minimum": 15
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 13,
"percentage": 10,
"minimum": 18
},
{
"type": "product",
"item_id": 14,
"percentage": 13,
"minimum": 10
},
{
"type": "product",
"item_id": 15,
"percentage": 14,
"minimum": 19
}
]
},
{
"id": 17,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 13,
"minimum": 10
},
{
"type": "product",
"item_id": 11,
"percentage": 15,
"minimum": 12
},
{
"type": "product",
"item_id": 19,
"percentage": 11,
"minimum": 17
}
]
}
],
"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": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 18,
"name": "Tremaine Howe",
"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": "Non iste et et aspernatur nostrum ut laudantium."
},
"description": {
"en": "Quia non culpa et ullam cumque. Ad mollitia delectus recusandae dolores in voluptatem sed. Error et sapiente voluptatem est quos aut. Debitis voluptates blanditiis a molestiae omnis consequatur."
},
"url": {
"en": "http://koepp.com/ut-et-est-fugit-voluptas-dolorum"
}
}
},
{
"id": 10,
"name": "Arnold Lakin",
"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": "Dolorem accusantium reiciendis quibusdam eum id illo minus."
},
"description": {
"en": "Voluptate aliquam et quasi in. Voluptatum eum perspiciatis velit fugiat iste quaerat. Maxime labore voluptas laborum provident commodi molestias debitis molestiae."
},
"url": {
"en": "http://ziemann.org/est-incidunt-voluptatibus-voluptates-et-eaque-autem.html"
}
}
},
{
"id": 12,
"name": "Mr. Keegan Mohr 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": "Ut distinctio sint voluptate saepe debitis itaque."
},
"description": {
"en": "Aut dolor sequi qui voluptates. Adipisci omnis et similique tenetur magni et veritatis. Modi et reprehenderit a nobis qui. Aut magni nihil in."
},
"url": {
"en": "http://hodkiewicz.com/nulla-rem-consequatur-quibusdam-quam-autem-rerum-ratione.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
16,
11,
13
]
},
{
"name": "...",
"category_ids": [
13,
10,
16
]
},
{
"name": "...",
"category_ids": [
10,
18,
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": 16,
"name": "Brenden Schultz",
"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": 14,
"percentage": 16,
"minimum": 19
},
{
"type": "product",
"item_id": 15,
"percentage": 16,
"minimum": 17
},
{
"type": "product",
"item_id": 16,
"percentage": 15,
"minimum": 14
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 13,
"percentage": 11,
"minimum": 14
},
{
"type": "product",
"item_id": 16,
"percentage": 18,
"minimum": 16
},
{
"type": "product",
"item_id": 18,
"percentage": 11,
"minimum": 16
}
]
},
{
"id": 11,
"name": "...",
"items": [
{
"type": "product",
"item_id": 18,
"percentage": 16,
"minimum": 15
},
{
"type": "product",
"item_id": 14,
"percentage": 10,
"minimum": 14
},
{
"type": "product",
"item_id": 18,
"percentage": 16,
"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": true,
"allow_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 14,
"name": "Dalton Wolf",
"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": "Iusto molestias mollitia fuga explicabo optio modi corporis est corporis."
},
"description": {
"en": "Tenetur nemo aut iusto iure modi. Officia placeat nesciunt dolorum rerum voluptas reiciendis. Veniam soluta quaerat ut ut similique quos."
},
"url": {
"en": "https://www.runolfsdottir.com/qui-quo-aut-omnis-excepturi-provident-ut-ut"
}
}
},
{
"id": 15,
"name": "Cecil Krajcik",
"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": "Porro aut est dolores accusamus in voluptatum necessitatibus perspiciatis."
},
"description": {
"en": "Repellat voluptatem qui magni dicta eos earum. Voluptas voluptatibus ex non qui placeat. Deserunt iure et blanditiis amet. Inventore magnam sapiente iusto iure commodi quo nisi."
},
"url": {
"en": "http://www.moore.com/dolores-nisi-in-dignissimos-aut-sapiente-molestiae"
}
}
},
{
"id": 17,
"name": "Sally DuBuque",
"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": "Aut molestias culpa beatae aut et."
},
"description": {
"en": "Quibusdam suscipit repellat officia aspernatur in. Quis magnam ut voluptatum nulla."
},
"url": {
"en": "http://www.roberts.com/"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
13,
13,
15
]
},
{
"name": "...",
"category_ids": [
17,
14,
19
]
},
{
"name": "...",
"category_ids": [
15,
16,
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"
}
]
}
]