Fields when send to the api inside a request.
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) |
Fields when returned by the api in a response.
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) |
When used inside a request.
{
"id": 19,
"name": "Jewel Bailey",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE"
},
"offers": [
{
"id": 15,
"name": "...",
"items": [
{
"type": "product",
"item_id": 14,
"percentage": 12,
"minimum": 12
},
{
"type": "product",
"item_id": 10,
"percentage": 17,
"minimum": 17
},
{
"type": "product",
"item_id": 11,
"percentage": 17,
"minimum": 15
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 14,
"minimum": 15
},
{
"type": "product",
"item_id": 18,
"percentage": 16,
"minimum": 13
},
{
"type": "product",
"item_id": 17,
"percentage": 14,
"minimum": 11
}
]
},
{
"id": 12,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 19,
"minimum": 19
},
{
"type": "product",
"item_id": 15,
"percentage": 18,
"minimum": 12
},
{
"type": "product",
"item_id": 13,
"percentage": 14,
"minimum": 18
}
]
}
],
"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": 13,
"name": "Kellen Parker 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": true
},
"seo": {
"title": {
"en": "Qui laboriosam quia quis quos magni possimus est autem sunt eaque itaque."
},
"description": {
"en": "Modi saepe consequatur soluta eius. Et molestiae a a quaerat dolores. Doloremque quod est sapiente asperiores non. Odit qui totam in aliquam in et qui."
},
"url": {
"en": "http://schuster.info/dolores-sed-est-architecto-ipsum-est-vel.html"
}
}
},
{
"id": 12,
"name": "Hilario Pfannerstill",
"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": "Aliquid non voluptatum maiores quidem voluptatem adipisci dolores ratione magni vel."
},
"description": {
"en": "Molestias accusamus est exercitationem ratione. Ab ex et doloribus id iusto. Voluptatem et vero eum quia voluptas soluta sit. Dolor quia voluptates qui ex."
},
"url": {
"en": "http://www.durgan.com/voluptatem-eum-ducimus-earum-ut-laboriosam-cupiditate-ut.html"
}
}
},
{
"id": 14,
"name": "Prof. Georgiana Nicolas",
"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": "Magni repellat ullam iusto nihil aperiam mollitia."
},
"description": {
"en": "Nemo minus id est. Dolore nulla consequatur ratione recusandae velit delectus. Velit autem dolorem ut."
},
"url": {
"en": "http://mosciski.org/eius-iure-facere-excepturi-qui-beatae-cumque"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
17,
19,
11
]
},
{
"name": "...",
"category_ids": [
13,
17,
15
]
},
{
"name": "...",
"category_ids": [
18,
16,
11
]
}
],
"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"
}
When returned in a response.
{
"id": 19,
"name": "Mr. Darron Conroy",
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"offers": [
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 17,
"percentage": 18,
"minimum": 17
},
{
"type": "product",
"item_id": 12,
"percentage": 16,
"minimum": 11
},
{
"type": "product",
"item_id": 12,
"percentage": 18,
"minimum": 10
}
]
},
{
"id": 19,
"name": "...",
"items": [
{
"type": "product",
"item_id": 19,
"percentage": 13,
"minimum": 11
},
{
"type": "product",
"item_id": 10,
"percentage": 13,
"minimum": 19
},
{
"type": "product",
"item_id": 19,
"percentage": 17,
"minimum": 19
}
]
},
{
"id": 10,
"name": "...",
"items": [
{
"type": "product",
"item_id": 16,
"percentage": 13,
"minimum": 16
},
{
"type": "product",
"item_id": 14,
"percentage": 18,
"minimum": 10
},
{
"type": "product",
"item_id": 15,
"percentage": 13,
"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": false
}
},
"allow_comments": true,
"allow_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 17,
"name": "Juanita Dicki",
"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": "Harum voluptatem voluptate autem laudantium voluptatem vel rerum et nihil rerum."
},
"description": {
"en": "Non aut aut rerum cumque exercitationem veniam. Aperiam inventore rem mollitia nesciunt atque. Aut ea dicta eius iure aliquid occaecati libero sequi."
},
"url": {
"en": "http://www.mckenzie.com/ad-assumenda-est-fuga-rerum-praesentium-aut-neque-veniam"
}
}
},
{
"id": 12,
"name": "Prof. Hortense Kunze",
"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 dolorem excepturi enim reprehenderit debitis necessitatibus aut incidunt."
},
"description": {
"en": "Est nulla sit dolores nihil et. Magni id consequatur rerum exercitationem qui ipsum esse."
},
"url": {
"en": "http://kozey.com/"
}
}
},
{
"id": 13,
"name": "Elouise Muller",
"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": "Qui saepe numquam qui consequatur ducimus eum ab mollitia nesciunt dignissimos."
},
"description": {
"en": "Quod repellat qui voluptatem non. Repudiandae repellendus odio magnam eum. Quia et qui enim non. Laudantium facilis reiciendis ex vel totam commodi."
},
"url": {
"en": "http://www.hodkiewicz.org/optio-rerum-eveniet-perspiciatis-hic-quaerat-fuga.html"
}
}
}
],
"category_groups": [
{
"name": "...",
"category_ids": [
16,
18,
17
]
},
{
"name": "...",
"category_ids": [
18,
12,
16
]
},
{
"name": "...",
"category_ids": [
15,
14,
14
]
}
],
"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"
}