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/17 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.3.0
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 |
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 | [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: 11549
{
"id": 12,
"name": "Yessenia Kling MD",
"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": 10,
"percentage": 18,
"minimum": 16
},
{
"type": "product",
"item_id": 15,
"percentage": 14,
"minimum": 11
},
{
"type": "product",
"item_id": 18,
"percentage": 18,
"minimum": 14
}
]
},
{
"id": 16,
"name": "...",
"items": [
{
"type": "product",
"item_id": 11,
"percentage": 15,
"minimum": 13
},
{
"type": "product",
"item_id": 17,
"percentage": 18,
"minimum": 16
},
{
"type": "product",
"item_id": 16,
"percentage": 18,
"minimum": 16
}
]
},
{
"id": 15,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 12,
"minimum": 15
},
{
"type": "product",
"item_id": 14,
"percentage": 13,
"minimum": 16
},
{
"type": "product",
"item_id": 18,
"percentage": 14,
"minimum": 11
}
]
}
],
"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": 18,
"name": "Adelle Wisoky",
"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": "Facere ipsam corrupti consequatur omnis ab ex expedita praesentium voluptas aliquam."
},
"description": {
"en": "Aut est qui perferendis. Sit officia atque laudantium voluptatem repellat distinctio dolores ducimus. Officiis provident iusto sapiente iure in est. Optio itaque saepe velit aut nesciunt saepe."
},
"url": {
"en": "http://kreiger.net/tempora-ratione-eum-ratione-repudiandae-ad-vero-possimus.html"
}
}
},
{
"id": 14,
"name": "Rollin Kihn",
"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": "Est et voluptates minus est voluptatem ea perferendis placeat facilis."
},
"description": {
"en": "Ipsa est omnis nam eum. Adipisci rem reiciendis ut enim odit consectetur atque quos. Dicta enim omnis quia veritatis. Laboriosam at et dolor et."
},
"url": {
"en": "https://www.brekke.net/rem-aut-hic-repellendus-omnis"
}
}
},
{
"id": 10,
"name": "Rocio Dickinson",
"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": "Sit dolorem ea quia cumque hic laboriosam magni velit."
},
"description": {
"en": "Quia et reprehenderit quod. Sunt culpa ipsum eum et unde temporibus debitis. Consectetur deserunt aliquam dignissimos soluta iste sequi est corrupti."
},
"url": {
"en": "http://www.grant.com/inventore-et-sit-atque-et-qui"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
19,
19,
11
]
},
{
"name": "...",
"category_ids": [
13,
13,
18
]
},
{
"name": "...",
"category_ids": [
14,
11,
12
]
}
],
"hours": [
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:32 - 19:24",
"09:32 - 19:24",
"09:32 - 19:24"
]
},
{
"days": "5",
"times": [
"08:47 - 18:29",
"08:47 - 18:29",
"08:47 - 18:29"
]
},
{
"days": "5",
"times": [
"07:37 - 13:16",
"07:37 - 13:16",
"07:37 - 13:16"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"07:38 - 10:24",
"07:38 - 10:24",
"07:38 - 10:24"
]
},
{
"days": "5",
"times": [
"08:11 - 21:45",
"08:11 - 21:45",
"08:11 - 21:45"
]
},
{
"days": "5",
"times": [
"07:18 - 15:40",
"07:18 - 15:40",
"07:18 - 15:40"
]
}
]
},
{
"name": "...",
"description": "...",
"type": "open",
"hours": [
{
"days": "5",
"times": [
"09:39 - 14:31",
"09:39 - 14:31",
"09:39 - 14:31"
]
},
{
"days": "5",
"times": [
"07:16 - 18:55",
"07:16 - 18:55",
"07:16 - 18:55"
]
},
{
"days": "5",
"times": [
"07:13 - 19:20",
"07:13 - 19:20",
"07:13 - 19: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"
}