GET /company/@id/shops
Replace the @ keywords in the URL with their corresponding value.
A dictionary with fields
Field | Type | Description |
---|---|---|
id | Int | ID of the company to return shops from |
GET /company/13/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.1.0
Accept-Language: en-US,en;q=0.5
Maximum 20. 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 |
currency | Currency | 3 letter ISO 4217 currency name (string) |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 39367
[
{
"id": 15,
"name": "Delta Kunze",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 16,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 13,
"minimum": 10
},
{
"type": "product",
"item_id": 19,
"percentage": 15,
"minimum": 18
},
{
"type": "product",
"item_id": 12,
"percentage": 16,
"minimum": 11
}
]
},
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 12,
"percentage": 19,
"minimum": 12
},
{
"type": "product",
"item_id": 17,
"percentage": 18,
"minimum": 18
},
{
"type": "product",
"item_id": 16,
"percentage": 12,
"minimum": 19
}
]
},
{
"id": 11,
"name": "...",
"items": [
{
"type": "product",
"item_id": 14,
"percentage": 11,
"minimum": 19
},
{
"type": "product",
"item_id": 19,
"percentage": 18,
"minimum": 11
},
{
"type": "product",
"item_id": 19,
"percentage": 15,
"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": true,
"allow_orders": true,
"delivery_use_intervals": true,
"categories": [
{
"id": 12,
"name": "Mr. Felix Kovacek",
"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 est omnis ducimus velit itaque eum a enim voluptatem et."
},
"description": {
"en": "Veniam sed ut recusandae quia dignissimos perferendis. Deserunt harum aspernatur ut totam. Necessitatibus voluptate reiciendis aut non."
},
"url": {
"en": "http://www.kulas.org/et-ut-et-labore-magnam-sed-porro-minus"
}
}
},
{
"id": 13,
"name": "Miss Ona Abbott",
"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 enim aut eum voluptas tenetur hic perspiciatis."
},
"description": {
"en": "Nihil minima minus et quibusdam rerum doloribus laborum officia. Omnis officia perspiciatis velit sunt cum sunt."
},
"url": {
"en": "http://dach.com/pariatur-sit-praesentium-minima"
}
}
},
{
"id": 10,
"name": "Flossie Beahan",
"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": "Totam at est quas voluptates voluptate vitae."
},
"description": {
"en": "Deserunt similique aut minima vero. Ad et soluta error explicabo officia debitis recusandae. Ut odio architecto corrupti quia voluptatem vitae saepe."
},
"url": {
"en": "http://www.deckow.com/et-a-consectetur-dolorem-omnis"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
13,
10,
17
]
},
{
"name": "...",
"category_ids": [
13,
15,
16
]
},
{
"name": "...",
"category_ids": [
19,
11,
10
]
}
],
"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"
}
],
"currency": "EUR"
},
{
"id": 11,
"name": "Leonard Wintheiser",
"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": 16,
"percentage": 14,
"minimum": 16
},
{
"type": "product",
"item_id": 10,
"percentage": 19,
"minimum": 11
},
{
"type": "product",
"item_id": 13,
"percentage": 18,
"minimum": 12
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 10,
"percentage": 10,
"minimum": 11
},
{
"type": "product",
"item_id": 10,
"percentage": 18,
"minimum": 12
},
{
"type": "product",
"item_id": 18,
"percentage": 14,
"minimum": 14
}
]
},
{
"id": 16,
"name": "...",
"items": [
{
"type": "product",
"item_id": 15,
"percentage": 14,
"minimum": 19
},
{
"type": "product",
"item_id": 14,
"percentage": 18,
"minimum": 14
},
{
"type": "product",
"item_id": 17,
"percentage": 18,
"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": true
}
},
"allow_comments": true,
"allow_orders": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 10,
"name": "Prof. Reginald Schaefer MD",
"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": "Quo voluptates velit dolorem voluptates autem consequuntur eum."
},
"description": {
"en": "Voluptatum doloribus dolores dolores consequatur debitis aperiam rerum. Commodi ipsum voluptate perspiciatis molestiae amet. Et delectus tempora explicabo modi."
},
"url": {
"en": "http://kling.biz/nulla-aliquid-tenetur-quis"
}
}
},
{
"id": 12,
"name": "Alicia Conroy",
"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 dicta velit eius autem illo vel fugiat."
},
"description": {
"en": "Ipsam repudiandae eveniet enim ullam qui qui ut. Perferendis porro vero velit repellendus molestiae sed. Dolor esse et nobis optio tenetur."
},
"url": {
"en": "http://www.damore.com/consequatur-nemo-porro-asperiores-quaerat-ipsum-animi-est.html"
}
}
},
{
"id": 16,
"name": "Mr. Raymond Braun",
"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": "Qui debitis ad ea sint non sequi eveniet."
},
"description": {
"en": "A temporibus dolores tempora animi sed et. Nobis qui non fugiat non eos ut. Ut qui aut corrupti. Necessitatibus facere in sapiente aut non velit."
},
"url": {
"en": "http://rau.com/consequatur-velit-qui-iusto-incidunt"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
13,
15,
11
]
},
{
"name": "...",
"category_ids": [
14,
16,
10
]
},
{
"name": "...",
"category_ids": [
11,
19,
18
]
}
],
"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"
}
],
"currency": "EUR"
},
{
"id": 19,
"name": "Izabella Kirlin",
"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": 13,
"percentage": 11,
"minimum": 19
},
{
"type": "product",
"item_id": 11,
"percentage": 18,
"minimum": 19
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 12
}
]
},
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 10,
"percentage": 12,
"minimum": 18
},
{
"type": "product",
"item_id": 12,
"percentage": 16,
"minimum": 16
},
{
"type": "product",
"item_id": 11,
"percentage": 15,
"minimum": 11
}
]
},
{
"id": 13,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 18,
"minimum": 19
},
{
"type": "product",
"item_id": 16,
"percentage": 10,
"minimum": 19
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 14
}
]
}
],
"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": false,
"delivery_use_intervals": true,
"categories": [
{
"id": 11,
"name": "Donato Senger",
"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": "Qui rerum dolor rerum dolore numquam."
},
"description": {
"en": "Et quam explicabo beatae et alias debitis quo. Numquam rem sint voluptas corporis molestiae pariatur quis non. Dolor dolore nulla aut voluptates aliquid aut sit. Eos sunt esse perspiciatis assumenda."
},
"url": {
"en": "http://www.kovacek.com/molestiae-ut-cum-consequatur-numquam-numquam-voluptas-earum-qui"
}
}
},
{
"id": 17,
"name": "Dylan Kris",
"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": "Voluptatem rerum harum ut fugit assumenda ut."
},
"description": {
"en": "Provident voluptatibus eligendi eligendi aut. Blanditiis nisi totam exercitationem cupiditate sint. Quis ex et doloribus mollitia."
},
"url": {
"en": "http://www.mcclure.com/voluptatem-non-tempora-accusamus-similique-porro-commodi-delectus"
}
}
},
{
"id": 17,
"name": "Itzel Hills",
"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": "Accusamus exercitationem pariatur eum cupiditate a."
},
"description": {
"en": "Suscipit est delectus est. Ut ut explicabo qui architecto est id laborum cum. Quia magnam nisi eum eos. Et sit vitae inventore et voluptas assumenda."
},
"url": {
"en": "http://rice.info/"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
18,
19,
13
]
},
{
"name": "...",
"category_ids": [
15,
16,
12
]
},
{
"name": "...",
"category_ids": [
15,
15,
17
]
}
],
"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"
}
],
"currency": "EUR"
}
]