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=14 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.2
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 |
url | String | A String value |
allow_order_comments | Bool | A boolean value |
allow_product_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 |
category_groups_overview | Bool | Show an overview of all the category groups on the webshop homepage |
display_mode | String | String enumarion of 'blocks', 'list' |
takeout_use_intervals | Bool | A boolean value |
joyn_enabled | 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 |
status | ShopStatus | |
has_specialties | Bool | A boolean value |
currency | Currency | 3 letter ISO 4217 currency name (string) |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 41764
[
{
"id": 13,
"name": "Dr. Leonel Kuhlman",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"url": "...",
"allow_order_comments": true,
"allow_product_comments": false,
"offers": [
{
"id": 15,
"name": "Black Friday"
},
{
"id": 14,
"name": "Black Friday"
},
{
"id": 14,
"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": true
}
},
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 15,
"name": "Mariah Bernier",
"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 et quod quaerat at ducimus dolor quo aut facere ratione qui."
},
"description": {
"en": "Sed officia nam qui unde. Non placeat voluptatem veritatis natus aspernatur repudiandae. Porro quo minima ut autem perferendis maiores quibusdam."
},
"url": {
"en": "http://lynch.com/adipisci-praesentium-accusantium-qui-provident-sequi-nulla-porro"
}
}
},
{
"id": 17,
"name": "Madilyn Barton",
"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": "Autem et eum eligendi sunt rerum ea dolorem soluta."
},
"description": {
"en": "Voluptatum fugit enim dolorum qui magni consequuntur eius. Eum unde et nihil facere totam velit. Fugiat ex qui veritatis officiis porro aut."
},
"url": {
"en": "http://mcclure.com/quod-qui-iure-molestiae-debitis-dolorem-est.html"
}
}
},
{
"id": 12,
"name": "Mrs. Lera Corkery",
"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": "Sit est alias occaecati tempora aut placeat esse quasi inventore."
},
"description": {
"en": "Est a est totam facilis voluptas. Id atque nesciunt amet sed corrupti. Quae ut aut ipsam et impedit non eum."
},
"url": {
"en": "http://schuppe.com/est-quia-optio-consectetur-ducimus-saepe"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
12,
13,
11
],
"id": 12,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
10,
14,
18
],
"id": 10,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
16,
18,
12
],
"id": 11,
"image": {
"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_invoices": true,
"category_groups_overview": false,
"display_mode": "blocks",
"takeout_use_intervals": true,
"joyn_enabled": false,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:41 - 16:57",
"07:41 - 16:57",
"07:41 - 16:57"
]
},
{
"days": "5",
"times": [
"09:39 - 13:42",
"09:39 - 13:42",
"09:39 - 13:42"
]
},
{
"days": "5",
"times": [
"08:40 - 16:15",
"08:40 - 16:15",
"08:40 - 16:15"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:36 - 21:14",
"07:36 - 21:14",
"07:36 - 21:14"
]
},
{
"days": "5",
"times": [
"07:20 - 16:33",
"07:20 - 16:33",
"07:20 - 16:33"
]
},
{
"days": "5",
"times": [
"08:43 - 16:23",
"08:43 - 16:23",
"08:43 - 16:23"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:13 - 17:23",
"06:13 - 17:23",
"06:13 - 17:23"
]
},
{
"days": "5",
"times": [
"09:58 - 17:46",
"09:58 - 17:46",
"09:58 - 17:46"
]
},
{
"days": "5",
"times": [
"08:26 - 14:27",
"08:26 - 14:27",
"08:26 - 14:27"
]
}
]
}
],
"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"
}
],
"status": {
"open": {
"status": "closes-soon",
"text": "..."
},
"takeout": "...",
"delivery": "...",
"latch": "..."
},
"has_specialties": true,
"currency": "EUR"
},
{
"id": 10,
"name": "Mrs. Mozelle Turner",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"url": "...",
"allow_order_comments": false,
"allow_product_comments": false,
"offers": [
{
"id": 13,
"name": "Black Friday"
},
{
"id": 12,
"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": true
}
},
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 12,
"name": "Emely Doyle",
"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": "Reiciendis sit aut quae labore non fugiat alias sapiente esse eius."
},
"description": {
"en": "Pariatur sed sed vel. Unde porro pariatur animi doloribus ad asperiores repudiandae. Impedit ipsam perferendis non doloremque in officiis cum."
},
"url": {
"en": "http://pouros.com/beatae-accusantium-perferendis-aut-deserunt-repellat"
}
}
},
{
"id": 19,
"name": "Dan Macejkovic",
"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": "Ullam incidunt illo itaque vitae est."
},
"description": {
"en": "Rerum ut aut ducimus. Laudantium temporibus quo blanditiis quia quam tenetur."
},
"url": {
"en": "http://www.kling.com/"
}
}
},
{
"id": 16,
"name": "Dr. Jaydon Pagac",
"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": "Sapiente quo qui rerum quis corporis."
},
"description": {
"en": "Iure veniam excepturi nostrum dolor consectetur rerum ut. Sit odio dignissimos commodi et maiores rerum voluptates. Placeat ad dignissimos commodi voluptates."
},
"url": {
"en": "http://jones.com/at-corporis-vero-quia-nisi-quod"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
14,
16,
16
],
"id": 19,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
11,
12,
13
],
"id": 18,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
13,
19,
16
],
"id": 17,
"image": {
"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_invoices": false,
"category_groups_overview": false,
"display_mode": "blocks",
"takeout_use_intervals": true,
"joyn_enabled": false,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"06:21 - 16:11",
"06:21 - 16:11",
"06:21 - 16:11"
]
},
{
"days": "5",
"times": [
"08:17 - 12:41",
"08:17 - 12:41",
"08:17 - 12:41"
]
},
{
"days": "5",
"times": [
"09:23 - 20:22",
"09:23 - 20:22",
"09:23 - 20:22"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:29 - 21:20",
"09:29 - 21:20",
"09:29 - 21:20"
]
},
{
"days": "5",
"times": [
"09:36 - 21:57",
"09:36 - 21:57",
"09:36 - 21:57"
]
},
{
"days": "5",
"times": [
"07:54 - 10:59",
"07:54 - 10:59",
"07:54 - 10:59"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:33 - 18:20",
"09:33 - 18:20",
"09:33 - 18:20"
]
},
{
"days": "5",
"times": [
"08:43 - 13:26",
"08:43 - 13:26",
"08:43 - 13:26"
]
},
{
"days": "5",
"times": [
"09:58 - 17:49",
"09:58 - 17:49",
"09:58 - 17:49"
]
}
]
}
],
"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"
}
],
"status": {
"open": {
"status": "closes-soon",
"text": "..."
},
"takeout": "...",
"delivery": "...",
"latch": "..."
},
"has_specialties": true,
"currency": "EUR"
},
{
"id": 11,
"name": "Santa Brekke",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"url": "...",
"allow_order_comments": true,
"allow_product_comments": false,
"offers": [
{
"id": 10,
"name": "Black Friday"
},
{
"id": 19,
"name": "Black Friday"
},
{
"id": 19,
"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": true
}
},
"allow_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 15,
"name": "Earl Rosenbaum",
"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 architecto totam laborum similique veritatis labore."
},
"description": {
"en": "Qui laudantium quos consequatur. Quibusdam sed recusandae dolor aut asperiores repellat quos. Est sed temporibus sint ducimus atque."
},
"url": {
"en": "http://hills.com/saepe-ex-sed-dignissimos-alias"
}
}
},
{
"id": 19,
"name": "Lambert Schuppe",
"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": "Pariatur ut molestias distinctio dolor accusantium enim iusto minus sed tempore."
},
"description": {
"en": "Quia aut voluptatem enim fuga aperiam. Odit nostrum incidunt rerum ratione. Et aliquid ratione quis placeat optio iste quidem. Qui eum laborum facere."
},
"url": {
"en": "http://bashirian.com/voluptas-laboriosam-unde-cum-repellendus"
}
}
},
{
"id": 18,
"name": "Fabian Deckow",
"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": "Quo non repellendus consequatur quam exercitationem rem sint voluptates sed."
},
"description": {
"en": "Ut esse aspernatur rerum consequatur rerum aut sit rerum. Itaque numquam eligendi hic aliquam. Quidem distinctio eum laborum ut dolore explicabo ut. Blanditiis minima ut et facere omnis vel."
},
"url": {
"en": "http://gorczany.com/qui-est-earum-quia-aut-consectetur-reprehenderit-architecto"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
16,
18,
18
],
"id": 17,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
10,
15,
13
],
"id": 18,
"image": {
"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
}
},
{
"name": "...",
"category_ids": [
13,
12,
14
],
"id": 16,
"image": {
"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_invoices": false,
"category_groups_overview": true,
"display_mode": "blocks",
"takeout_use_intervals": false,
"joyn_enabled": false,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:36 - 16:35",
"08:36 - 16:35",
"08:36 - 16:35"
]
},
{
"days": "5",
"times": [
"06:13 - 21:50",
"06:13 - 21:50",
"06:13 - 21:50"
]
},
{
"days": "5",
"times": [
"06:37 - 10:12",
"06:37 - 10:12",
"06:37 - 10:12"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:44 - 16:28",
"09:44 - 16:28",
"09:44 - 16:28"
]
},
{
"days": "5",
"times": [
"06:59 - 16:42",
"06:59 - 16:42",
"06:59 - 16:42"
]
},
{
"days": "5",
"times": [
"08:34 - 17:22",
"08:34 - 17:22",
"08:34 - 17:22"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:34 - 15:56",
"08:34 - 15:56",
"08:34 - 15:56"
]
},
{
"days": "5",
"times": [
"07:45 - 18:45",
"07:45 - 18:45",
"07:45 - 18:45"
]
},
{
"days": "5",
"times": [
"08:14 - 20:10",
"08:14 - 20:10",
"08:14 - 20:10"
]
}
]
}
],
"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"
}
],
"status": {
"open": {
"status": "closes-soon",
"text": "..."
},
"takeout": "...",
"delivery": "...",
"latch": "..."
},
"has_specialties": false,
"currency": "EUR"
}
]