GET /shops/recent
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
Append the querystring with following properties to the URL.
A dictionary with fields
Field | Type | Description |
---|---|---|
company_id | Int | Optional. Only return shops of this company ID |
GET /shops/recent?company_id=17 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.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 |
allow_comments | Bool | A boolean value |
offers | [Offer.simple] | Array of Offer.simple |
images | [String: Image] | Dictionary of Image with keys of type String |
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. |
allow_invoices | Bool | A boolean value |
hours | [MethodHours] | Information about the opening hours, delivery hours... for all available methods and machines |
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: 33344
[
{
"id": 15,
"name": "Mr. Gardner Blick Jr.",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"offers": [
{
"id": 12,
"name": "Black Friday"
},
{
"id": 18,
"name": "Black Friday"
},
{
"id": 18,
"name": "Black Friday"
}
],
"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_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 10,
"name": "Ms. Leonora Cronin III",
"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": "Rerum voluptas aperiam in debitis ab dolore accusamus maxime assumenda et."
},
"description": {
"en": "Dicta vel explicabo et natus non. Expedita iusto est voluptate et iure molestiae maiores dolore. Ipsa quis id laboriosam delectus dolore omnis voluptas velit."
},
"url": {
"en": "https://jones.com/et-et-quis-quam-voluptatem-nam-et-praesentium-voluptatibus.html"
}
}
},
{
"id": 12,
"name": "Yadira Gusikowski",
"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": "Nemo autem quam nobis sit sapiente."
},
"description": {
"en": "Nisi enim maiores et numquam iure corrupti. Sequi adipisci beatae mollitia delectus nobis reprehenderit voluptatem harum."
},
"url": {
"en": "http://www.kohler.com/"
}
}
},
{
"id": 17,
"name": "Kurt Blanda",
"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": "Ratione est accusamus recusandae natus rerum aut vero."
},
"description": {
"en": "Facere placeat dolores ut facilis et deserunt qui. Non repudiandae qui optio deleniti necessitatibus qui fugit id."
},
"url": {
"en": "https://www.bergstrom.com/enim-illo-fugiat-beatae-corrupti"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
10,
17,
14
]
},
{
"name": "...",
"category_ids": [
16,
18,
13
]
},
{
"name": "...",
"category_ids": [
16,
11,
10
]
}
],
"allow_invoices": true,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:28 - 18:35",
"09:28 - 18:35",
"09:28 - 18:35"
]
},
{
"days": "5",
"times": [
"08:28 - 17:17",
"08:28 - 17:17",
"08:28 - 17:17"
]
},
{
"days": "5",
"times": [
"09:21 - 16:15",
"09:21 - 16:15",
"09:21 - 16:15"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:49 - 16:46",
"08:49 - 16:46",
"08:49 - 16:46"
]
},
{
"days": "5",
"times": [
"06:42 - 14:39",
"06:42 - 14:39",
"06:42 - 14:39"
]
},
{
"days": "5",
"times": [
"08:14 - 14:20",
"08:14 - 14:20",
"08:14 - 14:20"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:35 - 20:57",
"08:35 - 20:57",
"08:35 - 20:57"
]
},
{
"days": "5",
"times": [
"06:26 - 20:17",
"06:26 - 20:17",
"06:26 - 20:17"
]
},
{
"days": "5",
"times": [
"07:11 - 10:17",
"07:11 - 10:17",
"07:11 - 10:17"
]
}
]
}
],
"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": 19,
"name": "Mrs. Nyah Stehr",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"offers": [
{
"id": 15,
"name": "Black Friday"
},
{
"id": 18,
"name": "Black Friday"
},
{
"id": 16,
"name": "Black Friday"
}
],
"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_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 18,
"name": "Elenor Reinger",
"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": "Aut non est eum iure ut dolorum."
},
"description": {
"en": "Placeat amet et omnis consequatur minus magni. Enim aut temporibus quia dolorem. Ut sapiente officiis voluptate et maxime."
},
"url": {
"en": "http://williamson.biz/delectus-hic-suscipit-adipisci"
}
}
},
{
"id": 11,
"name": "Hertha Champlin",
"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": "Nulla dolorem voluptatibus velit aspernatur soluta ut et vel accusamus."
},
"description": {
"en": "Qui nisi itaque sint voluptatum. Labore explicabo praesentium non omnis sed provident eum. Aut saepe nostrum velit. Nesciunt et eum provident qui."
},
"url": {
"en": "http://hoeger.info/laudantium-rerum-qui-qui-architecto-sit-facere-minima-fugit"
}
}
},
{
"id": 13,
"name": "Rocio Champlin",
"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": "Nisi doloremque omnis aut est."
},
"description": {
"en": "Quas inventore nihil asperiores ut sit sit illum minima. Quaerat voluptatem et quo consequatur quisquam. Fugiat hic explicabo et omnis."
},
"url": {
"en": "http://www.waters.net/in-excepturi-minima-necessitatibus-officia-ut"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
18,
13,
15
]
},
{
"name": "...",
"category_ids": [
16,
15,
13
]
},
{
"name": "...",
"category_ids": [
17,
17,
10
]
}
],
"allow_invoices": true,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:48 - 13:36",
"08:48 - 13:36",
"08:48 - 13:36"
]
},
{
"days": "5",
"times": [
"07:43 - 17:19",
"07:43 - 17:19",
"07:43 - 17:19"
]
},
{
"days": "5",
"times": [
"08:42 - 16:19",
"08:42 - 16:19",
"08:42 - 16:19"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:58 - 17:16",
"09:58 - 17:16",
"09:58 - 17:16"
]
},
{
"days": "5",
"times": [
"09:58 - 19:52",
"09:58 - 19:52",
"09:58 - 19:52"
]
},
{
"days": "5",
"times": [
"08:10 - 14:31",
"08:10 - 14:31",
"08:10 - 14:31"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:11 - 21:36",
"06:11 - 21:36",
"06:11 - 21:36"
]
},
{
"days": "5",
"times": [
"07:32 - 16:54",
"07:32 - 16:54",
"07:32 - 16:54"
]
},
{
"days": "5",
"times": [
"08:32 - 14:20",
"08:32 - 14:20",
"08:32 - 14:20"
]
}
]
}
],
"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": 11,
"name": "Mr. Lew Abbott",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"offers": [
{
"id": 19,
"name": "Black Friday"
},
{
"id": 14,
"name": "Black Friday"
},
{
"id": 16,
"name": "Black Friday"
}
],
"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_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 18,
"name": "Clotilde Klein 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": "Dolorum delectus quod ad ipsum et eius a."
},
"description": {
"en": "Qui suscipit ut labore provident nam ut. Perspiciatis voluptatem ut et ipsa. Est sunt ad reiciendis est libero quia. Architecto et in dolores deserunt."
},
"url": {
"en": "http://www.carroll.biz/deserunt-neque-sunt-saepe-autem-fuga.html"
}
}
},
{
"id": 12,
"name": "Herman Blanda",
"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": "Atque commodi minima ratione id mollitia dignissimos nihil."
},
"description": {
"en": "Libero debitis earum ut nam. Recusandae sequi repellendus ut et repellat dolorem. Soluta non accusantium sit fugiat at sint voluptatibus voluptate."
},
"url": {
"en": "http://wolff.net/occaecati-consequuntur-architecto-modi-enim"
}
}
},
{
"id": 19,
"name": "Dr. Monroe Schneider",
"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": "Fugiat impedit quia illo quos laudantium odio impedit quisquam rerum natus sapiente."
},
"description": {
"en": "Dolorem quis optio maiores dolores adipisci porro delectus. Sit est iure dolore. Sed necessitatibus debitis dolor aut tenetur eum."
},
"url": {
"en": "http://www.torp.com/molestiae-corporis-tempora-omnis-ab-ipsum-totam"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
13,
16,
18
]
},
{
"name": "...",
"category_ids": [
12,
15,
19
]
},
{
"name": "...",
"category_ids": [
10,
13,
14
]
}
],
"allow_invoices": true,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:11 - 21:37",
"06:11 - 21:37",
"06:11 - 21:37"
]
},
{
"days": "5",
"times": [
"09:10 - 13:47",
"09:10 - 13:47",
"09:10 - 13:47"
]
},
{
"days": "5",
"times": [
"09:23 - 20:15",
"09:23 - 20:15",
"09:23 - 20:15"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:24 - 16:20",
"06:24 - 16:20",
"06:24 - 16:20"
]
},
{
"days": "5",
"times": [
"08:55 - 11:26",
"08:55 - 11:26",
"08:55 - 11:26"
]
},
{
"days": "5",
"times": [
"09:55 - 18:14",
"09:55 - 18:14",
"09:55 - 18:14"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:17 - 13:27",
"07:17 - 13:27",
"07:17 - 13:27"
]
},
{
"days": "5",
"times": [
"08:18 - 17:53",
"08:18 - 17:53",
"08:18 - 17:53"
]
},
{
"days": "5",
"times": [
"07:22 - 15:37",
"07:22 - 15:37",
"07:22 - 15:37"
]
}
]
}
],
"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"
}
]