GET /shops/@id
Replace the @ keywords in the URL with their corresponding value.
A dictionary with fields
Field | Type | Description |
---|---|---|
id | Int | An integer value |
GET /shops/10 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.2
Accept-Language: en-US,en;q=0.5
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: 12281
{
"id": 10,
"name": "Mrs. Jakayla Schumm",
"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": 19,
"name": "Black Friday"
},
{
"id": 13,
"name": "Black Friday"
},
{
"id": 13,
"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": true,
"categories": [
{
"id": 16,
"name": "Alisha Mills",
"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": "Id amet perferendis vel minima aut."
},
"description": {
"en": "Alias vel blanditiis ut aut et aut facere maiores. Perspiciatis voluptas fuga ut dicta quia. Corrupti distinctio vel saepe atque. Eaque ratione iste est tempore sint."
},
"url": {
"en": "http://kunde.info/iusto-adipisci-sequi-ducimus-accusantium-aut-molestiae.html"
}
}
},
{
"id": 18,
"name": "Mr. Hermann Roob 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": false
},
"seo": {
"title": {
"en": "Non debitis atque ea repellendus amet nisi qui sunt alias pariatur."
},
"description": {
"en": "Voluptatem dolores dolorum sequi in nihil molestiae sunt. Hic quo sequi rerum aut soluta omnis. Tenetur ab molestias aut. Modi eos ratione quis."
},
"url": {
"en": "http://hills.com/et-est-illo-repellat-debitis-et-blanditiis-minima"
}
}
},
{
"id": 14,
"name": "Miss Summer Jacobs DVM",
"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": "Sed dolores porro veniam et doloremque laborum deleniti."
},
"description": {
"en": "Ut aut aut error. Quia fugit maiores nihil. Suscipit maiores sit vel autem dolor. Repudiandae iure culpa sequi ea soluta debitis aut."
},
"url": {
"en": "https://www.hayes.com/occaecati-vel-omnis-delectus-aperiam-placeat-ut-ea"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
14,
15,
19
],
"id": 14,
"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": [
15,
16,
15
],
"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": false
}
},
{
"name": "...",
"category_ids": [
17,
13,
17
],
"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": false
}
}
],
"allow_invoices": false,
"category_groups_overview": false,
"display_mode": "blocks",
"takeout_use_intervals": false,
"joyn_enabled": false,
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"08:12 - 18:35",
"08:12 - 18:35",
"08:12 - 18:35"
]
},
{
"days": "5",
"times": [
"08:48 - 18:39",
"08:48 - 18:39",
"08:48 - 18:39"
]
},
{
"days": "5",
"times": [
"09:34 - 19:22",
"09:34 - 19:22",
"09:34 - 19:22"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:18 - 10:14",
"09:18 - 10:14",
"09:18 - 10:14"
]
},
{
"days": "5",
"times": [
"06:37 - 20:28",
"06:37 - 20:28",
"06:37 - 20:28"
]
},
{
"days": "5",
"times": [
"08:33 - 17:19",
"08:33 - 17:19",
"08:33 - 17:19"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:49 - 18:47",
"07:49 - 18:47",
"07:49 - 18:47"
]
},
{
"days": "5",
"times": [
"07:25 - 16:47",
"07:25 - 16:47",
"07:25 - 16:47"
]
},
{
"days": "5",
"times": [
"08:33 - 18:17",
"08:33 - 18:17",
"08:33 - 18: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"
}
],
"status": {
"open": {
"status": "closes-soon",
"text": "..."
},
"takeout": "...",
"delivery": "...",
"latch": "..."
},
"has_specialties": false,
"currency": "EUR"
}