Get recent shops

GET /shops/recent

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

Query string (URL)

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

Example request 1

GET /shops/recent?company_id=19 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.9.0
Accept-Language: en-US,en;q=0.5

Response

Array of Shop.extended: [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
allow_order_messages Bool A boolean value
global_discount_percentage Int Discount percentage for all products
offers [Offer.detailed] Array of Offer.detailed
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
category_overview Bool Show an overview of all the categories on the webshop homepage
fold_category_groups Bool Whether the shop prefers to hide all the categories for all category groups by default
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
promotion Promotion The info about the shop promotion
delivery Dictionary A dictionary with fields
currency Currency 3 letter ISO 4217 currency name (string)

Example response 1

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 66633

[
    {
        "id": 13,
        "name": "Paxton Will MD",
        "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": true,
        "allow_order_messages": false,
        "global_discount_percentage": 11,
        "offers": [
            {
                "id": 10,
                "name": "Black Friday",
                "from_date": "2019-01-31",
                "until_date": "2019-01-31",
                "valid_for": "order",
                "recurring": 14,
                "recurring_on": {
                    "day_1": 13,
                    "day_2": 13,
                    "day_3": 15,
                    "day_4": 12,
                    "day_5": 12,
                    "day_6": 19,
                    "day_7": 12
                },
                "items": [
                    {
                        "type": "percentage",
                        "x": 12,
                        "y": 19,
                        "percentage": 10,
                        "minimum": 10,
                        "applies_to": "category",
                        "item_id": 10
                    },
                    {
                        "type": "percentage",
                        "x": 14,
                        "y": 12,
                        "percentage": 11,
                        "minimum": 10,
                        "applies_to": "category",
                        "item_id": 13
                    },
                    {
                        "type": "percentage",
                        "x": 18,
                        "y": 18,
                        "percentage": 13,
                        "minimum": 12,
                        "applies_to": "category",
                        "item_id": 17
                    }
                ]
            },
            {
                "id": 13,
                "name": "Black Friday",
                "from_date": "2019-01-31",
                "until_date": "2019-01-31",
                "valid_for": "order",
                "recurring": 13,
                "recurring_on": {
                    "day_1": 12,
                    "day_2": 14,
                    "day_3": 19,
                    "day_4": 17,
                    "day_5": 14,
                    "day_6": 12,
                    "day_7": 13
                },
                "items": [
                    {
                        "type": "percentage",
                        "x": 16,
                        "y": 15,
                        "percentage": 11,
                        "minimum": 18,
                        "applies_to": "category",
                        "item_id": 17
                    },
                    {
                        "type": "percentage",
                        "x": 18,
                        "y": 15,
                        "percentage": 10,
                        "minimum": 10,
                        "applies_to": "category",
                        "item_id": 13
                    },
                    {
                        "type": "percentage",
                        "x": 13,
                        "y": 17,
                        "percentage": 12,
                        "minimum": 11,
                        "applies_to": "category",
                        "item_id": 15
                    }
                ]
            },
            {
                "id": 10,
                "name": "Black Friday",
                "from_date": "2019-01-31",
                "until_date": "2019-01-31",
                "valid_for": "order",
                "recurring": 11,
                "recurring_on": {
                    "day_1": 14,
                    "day_2": 12,
                    "day_3": 16,
                    "day_4": 13,
                    "day_5": 19,
                    "day_6": 10,
                    "day_7": 12
                },
                "items": [
                    {
                        "type": "percentage",
                        "x": 13,
                        "y": 19,
                        "percentage": 17,
                        "minimum": 12,
                        "applies_to": "category",
                        "item_id": 13
                    },
                    {
                        "type": "percentage",
                        "x": 11,
                        "y": 18,
                        "percentage": 16,
                        "minimum": 13,
                        "applies_to": "category",
                        "item_id": 16
                    },
                    {
                        "type": "percentage",
                        "x": 12,
                        "y": 17,
                        "percentage": 14,
                        "minimum": 13,
                        "applies_to": "category",
                        "item_id": 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
                    }
                ],
                "file_id": 14,
                "white_background": false
            }
        },
        "allow_orders": false,
        "delivery_use_intervals": true,
        "categories": [
            {
                "id": 16,
                "name": "Mariane Jacobs",
                "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
                        }
                    ],
                    "file_id": 17,
                    "white_background": false
                },
                "only_order_in_store": false,
                "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
                        }
                    ],
                    "file_id": 17,
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Et porro praesentium iusto culpa veritatis consequuntur ullam minima corporis ullam."
                    },
                    "description": {
                        "en": "Ipsam aut dolores reiciendis deleniti exercitationem dolore unde. Qui fugit alias voluptas vero. Molestiae fuga et necessitatibus eveniet explicabo velit enim."
                    },
                    "url": {
                        "en": "http://www.stehr.com/omnis-voluptatibus-incidunt-culpa-ut-et"
                    }
                }
            },
            {
                "id": 10,
                "name": "Cecile Emard",
                "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
                        }
                    ],
                    "file_id": 11,
                    "white_background": false
                },
                "only_order_in_store": false,
                "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
                        }
                    ],
                    "file_id": 15,
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Nulla qui voluptatem unde quae."
                    },
                    "description": {
                        "en": "Et qui necessitatibus ad vel amet voluptatem. Esse modi reprehenderit placeat sit a dolore. Voluptas qui non natus aspernatur voluptatem. Molestias officiis occaecati ut quia animi."
                    },
                    "url": {
                        "en": "http://roberts.org/"
                    }
                }
            },
            {
                "id": 19,
                "name": "Dr. Ada Thiel",
                "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
                        }
                    ],
                    "file_id": 19,
                    "white_background": false
                },
                "only_order_in_store": true,
                "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
                        }
                    ],
                    "file_id": 11,
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Sequi amet est itaque impedit sequi dignissimos possimus necessitatibus."
                    },
                    "description": {
                        "en": "Fugiat consequatur dolor porro aut. Tenetur iste enim maxime tempora illo totam. Ut quas eius tempora et voluptatem."
                    },
                    "url": {
                        "en": "http://sipes.com/repudiandae-ipsum-facere-maiores-explicabo-ut-ad"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": "...",
                "category_ids": [
                    19,
                    12,
                    19
                ],
                "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
                        }
                    ],
                    "file_id": 10,
                    "white_background": true
                }
            },
            {
                "name": "...",
                "category_ids": [
                    17,
                    11,
                    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
                        }
                    ],
                    "file_id": 16,
                    "white_background": false
                }
            },
            {
                "name": "...",
                "category_ids": [
                    12,
                    19,
                    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
                        }
                    ],
                    "file_id": 15,
                    "white_background": false
                }
            }
        ],
        "allow_invoices": false,
        "category_groups_overview": true,
        "display_mode": "blocks",
        "takeout_use_intervals": false,
        "joyn_enabled": false,
        "category_overview": true,
        "fold_category_groups": false,
        "hours": [
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "08:26 - 21:52",
                            "08:26 - 21:52",
                            "08:26 - 21:52"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:10 - 18:39",
                            "08:10 - 18:39",
                            "08:10 - 18:39"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:10 - 18:55",
                            "06:10 - 18:55",
                            "06:10 - 18:55"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "06:42 - 13:40",
                            "06:42 - 13:40",
                            "06:42 - 13:40"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:59 - 15:24",
                            "06:59 - 15:24",
                            "06:59 - 15:24"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:29 - 15:57",
                            "09:29 - 15:57",
                            "09:29 - 15:57"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "07:27 - 12:44",
                            "07:27 - 12:44",
                            "07:27 - 12:44"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:40 - 11:47",
                            "08:40 - 11:47",
                            "08:40 - 11:47"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:52 - 18:15",
                            "08:52 - 18:15",
                            "08:52 - 18:15"
                        ]
                    }
                ]
            }
        ],
        "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,
        "promotion": {
            "is_enabled": false,
            "title": "...",
            "type": "product",
            "id": 14,
            "custom_image_enabled": false,
            "photo": {
                "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
                    }
                ],
                "file_id": 13,
                "white_background": false
            }
        },
        "delivery": {
            "range": {
                "all_zipcodes": false,
                "has_max_range": false,
                "max_range": 13
            }
        },
        "currency": "EUR"
    },
    {
        "id": 19,
        "name": "Camilla Treutel",
        "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": true,
        "allow_order_messages": false,
        "global_discount_percentage": 11,
        "offers": [
            {
                "id": 10,
                "name": "Black Friday",
                "from_date": "2019-01-31",
                "until_date": "2019-01-31",
                "valid_for": "order",
                "recurring": 17,
                "recurring_on": {
                    "day_1": 16,
                    "day_2": 11,
                    "day_3": 17,
                    "day_4": 14,
                    "day_5": 17,
                    "day_6": 11,
                    "day_7": 17
                },
                "items": [
                    {
                        "type": "percentage",
                        "x": 12,
                        "y": 12,
                        "percentage": 12,
                        "minimum": 12,
                        "applies_to": "category",
                        "item_id": 13
                    },
                    {
                        "type": "percentage",
                        "x": 13,
                        "y": 12,
                        "percentage": 11,
                        "minimum": 12,
                        "applies_to": "category",
                        "item_id": 10
                    },
                    {
                        "type": "percentage",
                        "x": 15,
                        "y": 15,
                        "percentage": 10,
                        "minimum": 14,
                        "applies_to": "category",
                        "item_id": 11
                    }
                ]
            },
            {
                "id": 11,
                "name": "Black Friday",
                "from_date": "2019-01-31",
                "until_date": "2019-01-31",
                "valid_for": "order",
                "recurring": 14,
                "recurring_on": {
                    "day_1": 10,
                    "day_2": 14,
                    "day_3": 17,
                    "day_4": 17,
                    "day_5": 12,
                    "day_6": 18,
                    "day_7": 18
                },
                "items": [
                    {
                        "type": "percentage",
                        "x": 11,
                        "y": 14,
                        "percentage": 16,
                        "minimum": 15,
                        "applies_to": "category",
                        "item_id": 18
                    },
                    {
                        "type": "percentage",
                        "x": 16,
                        "y": 15,
                        "percentage": 17,
                        "minimum": 14,
                        "applies_to": "category",
                        "item_id": 12
                    },
                    {
                        "type": "percentage",
                        "x": 19,
                        "y": 11,
                        "percentage": 15,
                        "minimum": 14,
                        "applies_to": "category",
                        "item_id": 18
                    }
                ]
            },
            {
                "id": 12,
                "name": "Black Friday",
                "from_date": "2019-01-31",
                "until_date": "2019-01-31",
                "valid_for": "order",
                "recurring": 19,
                "recurring_on": {
                    "day_1": 10,
                    "day_2": 17,
                    "day_3": 19,
                    "day_4": 18,
                    "day_5": 11,
                    "day_6": 19,
                    "day_7": 13
                },
                "items": [
                    {
                        "type": "percentage",
                        "x": 18,
                        "y": 18,
                        "percentage": 17,
                        "minimum": 11,
                        "applies_to": "category",
                        "item_id": 14
                    },
                    {
                        "type": "percentage",
                        "x": 15,
                        "y": 11,
                        "percentage": 14,
                        "minimum": 19,
                        "applies_to": "category",
                        "item_id": 16
                    },
                    {
                        "type": "percentage",
                        "x": 16,
                        "y": 12,
                        "percentage": 12,
                        "minimum": 15,
                        "applies_to": "category",
                        "item_id": 12
                    }
                ]
            }
        ],
        "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
                    }
                ],
                "file_id": 11,
                "white_background": true
            }
        },
        "allow_orders": false,
        "delivery_use_intervals": false,
        "categories": [
            {
                "id": 10,
                "name": "Sydni Nolan",
                "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
                        }
                    ],
                    "file_id": 14,
                    "white_background": true
                },
                "only_order_in_store": true,
                "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
                        }
                    ],
                    "file_id": 13,
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Omnis officiis iste excepturi placeat enim voluptatem voluptatem est aut et."
                    },
                    "description": {
                        "en": "Similique sint cupiditate voluptatem amet velit et. Explicabo repellendus nesciunt consequatur unde ipsa ipsum veritatis."
                    },
                    "url": {
                        "en": "http://ferry.com/officia-minus-eveniet-perferendis-architecto-nihil-illo-ipsam-enim"
                    }
                }
            },
            {
                "id": 16,
                "name": "Dr. Madyson Aufderhar",
                "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
                        }
                    ],
                    "file_id": 19,
                    "white_background": true
                },
                "only_order_in_store": false,
                "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
                        }
                    ],
                    "file_id": 12,
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Nemo doloribus sint odit quod illum sequi impedit."
                    },
                    "description": {
                        "en": "Delectus a voluptatem quo quo similique veniam tempore. Ut fugit corrupti commodi et aut aut commodi. Nesciunt molestias molestias illo accusamus magnam illo. Ad quod tempore vel."
                    },
                    "url": {
                        "en": "https://abbott.org/sit-aut-eos-voluptate-aperiam-sint-maxime.html"
                    }
                }
            },
            {
                "id": 13,
                "name": "Lorine Torphy",
                "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
                        }
                    ],
                    "file_id": 18,
                    "white_background": true
                },
                "only_order_in_store": false,
                "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
                        }
                    ],
                    "file_id": 14,
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Sed alias neque quas praesentium ab minima nobis inventore ullam quisquam."
                    },
                    "description": {
                        "en": "Ullam ad culpa id. Nisi dolor ullam voluptatem sit. Sint facilis et illum dolore."
                    },
                    "url": {
                        "en": "http://www.dare.com/dolores-quis-excepturi-et-cumque-deserunt-ratione-quia"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": "...",
                "category_ids": [
                    14,
                    16,
                    13
                ],
                "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
                        }
                    ],
                    "file_id": 16,
                    "white_background": true
                }
            },
            {
                "name": "...",
                "category_ids": [
                    13,
                    13,
                    14
                ],
                "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
                        }
                    ],
                    "file_id": 15,
                    "white_background": false
                }
            },
            {
                "name": "...",
                "category_ids": [
                    19,
                    13,
                    18
                ],
                "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
                        }
                    ],
                    "file_id": 15,
                    "white_background": false
                }
            }
        ],
        "allow_invoices": true,
        "category_groups_overview": false,
        "display_mode": "blocks",
        "takeout_use_intervals": true,
        "joyn_enabled": false,
        "category_overview": false,
        "fold_category_groups": false,
        "hours": [
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "06:48 - 19:52",
                            "06:48 - 19:52",
                            "06:48 - 19:52"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:31 - 14:48",
                            "09:31 - 14:48",
                            "09:31 - 14:48"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:41 - 12:20",
                            "08:41 - 12:20",
                            "08:41 - 12:20"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "08:57 - 16:57",
                            "08:57 - 16:57",
                            "08:57 - 16:57"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:28 - 14:51",
                            "06:28 - 14:51",
                            "06:28 - 14:51"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:57 - 17:11",
                            "08:57 - 17:11",
                            "08:57 - 17:11"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "06:14 - 21:40",
                            "06:14 - 21:40",
                            "06:14 - 21:40"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:39 - 19:59",
                            "06:39 - 19:59",
                            "06:39 - 19:59"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "08:11 - 10:26",
                            "08:11 - 10:26",
                            "08:11 - 10:26"
                        ]
                    }
                ]
            }
        ],
        "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,
        "promotion": {
            "is_enabled": false,
            "title": "...",
            "type": "product",
            "id": 12,
            "custom_image_enabled": false,
            "photo": {
                "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
                    }
                ],
                "file_id": 12,
                "white_background": true
            }
        },
        "delivery": {
            "range": {
                "all_zipcodes": true,
                "has_max_range": true,
                "max_range": 17
            }
        },
        "currency": "EUR"
    },
    {
        "id": 10,
        "name": "Magali Ortiz",
        "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": true,
        "allow_order_messages": true,
        "global_discount_percentage": 19,
        "offers": [
            {
                "id": 13,
                "name": "Black Friday",
                "from_date": "2019-01-31",
                "until_date": "2019-01-31",
                "valid_for": "order",
                "recurring": 15,
                "recurring_on": {
                    "day_1": 11,
                    "day_2": 14,
                    "day_3": 13,
                    "day_4": 13,
                    "day_5": 16,
                    "day_6": 13,
                    "day_7": 15
                },
                "items": [
                    {
                        "type": "percentage",
                        "x": 19,
                        "y": 19,
                        "percentage": 13,
                        "minimum": 17,
                        "applies_to": "category",
                        "item_id": 10
                    },
                    {
                        "type": "percentage",
                        "x": 19,
                        "y": 12,
                        "percentage": 12,
                        "minimum": 17,
                        "applies_to": "category",
                        "item_id": 11
                    },
                    {
                        "type": "percentage",
                        "x": 17,
                        "y": 14,
                        "percentage": 14,
                        "minimum": 16,
                        "applies_to": "category",
                        "item_id": 12
                    }
                ]
            },
            {
                "id": 11,
                "name": "Black Friday",
                "from_date": "2019-01-31",
                "until_date": "2019-01-31",
                "valid_for": "order",
                "recurring": 16,
                "recurring_on": {
                    "day_1": 15,
                    "day_2": 13,
                    "day_3": 15,
                    "day_4": 18,
                    "day_5": 11,
                    "day_6": 18,
                    "day_7": 12
                },
                "items": [
                    {
                        "type": "percentage",
                        "x": 11,
                        "y": 13,
                        "percentage": 10,
                        "minimum": 13,
                        "applies_to": "category",
                        "item_id": 13
                    },
                    {
                        "type": "percentage",
                        "x": 10,
                        "y": 17,
                        "percentage": 10,
                        "minimum": 16,
                        "applies_to": "category",
                        "item_id": 18
                    },
                    {
                        "type": "percentage",
                        "x": 19,
                        "y": 17,
                        "percentage": 16,
                        "minimum": 16,
                        "applies_to": "category",
                        "item_id": 14
                    }
                ]
            },
            {
                "id": 11,
                "name": "Black Friday",
                "from_date": "2019-01-31",
                "until_date": "2019-01-31",
                "valid_for": "order",
                "recurring": 14,
                "recurring_on": {
                    "day_1": 11,
                    "day_2": 14,
                    "day_3": 18,
                    "day_4": 13,
                    "day_5": 10,
                    "day_6": 12,
                    "day_7": 17
                },
                "items": [
                    {
                        "type": "percentage",
                        "x": 12,
                        "y": 16,
                        "percentage": 11,
                        "minimum": 19,
                        "applies_to": "category",
                        "item_id": 11
                    },
                    {
                        "type": "percentage",
                        "x": 19,
                        "y": 11,
                        "percentage": 15,
                        "minimum": 14,
                        "applies_to": "category",
                        "item_id": 19
                    },
                    {
                        "type": "percentage",
                        "x": 13,
                        "y": 17,
                        "percentage": 12,
                        "minimum": 11,
                        "applies_to": "category",
                        "item_id": 12
                    }
                ]
            }
        ],
        "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
                    }
                ],
                "file_id": 18,
                "white_background": true
            }
        },
        "allow_orders": true,
        "delivery_use_intervals": true,
        "categories": [
            {
                "id": 19,
                "name": "Savannah Jakubowski",
                "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
                        }
                    ],
                    "file_id": 10,
                    "white_background": false
                },
                "only_order_in_store": true,
                "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
                        }
                    ],
                    "file_id": 18,
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Deleniti pariatur est voluptatem est quidem cupiditate aut."
                    },
                    "description": {
                        "en": "Rerum sequi harum sint accusantium. Labore earum est a. Repellendus natus ducimus sint tempore sed odit."
                    },
                    "url": {
                        "en": "http://www.barrows.org/veniam-soluta-ut-omnis-aut.html"
                    }
                }
            },
            {
                "id": 15,
                "name": "Dejuan Stehr Jr.",
                "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
                        }
                    ],
                    "file_id": 11,
                    "white_background": true
                },
                "only_order_in_store": true,
                "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
                        }
                    ],
                    "file_id": 16,
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Dolor quibusdam impedit ullam consequatur amet quae nisi unde."
                    },
                    "description": {
                        "en": "Ullam sed autem et rerum. Autem exercitationem iste doloremque molestiae excepturi. Repellendus fugiat illum aut nostrum libero sed."
                    },
                    "url": {
                        "en": "http://nicolas.net/odio-recusandae-quam-magnam"
                    }
                }
            },
            {
                "id": 14,
                "name": "Glenda Schimmel",
                "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
                        }
                    ],
                    "file_id": 19,
                    "white_background": false
                },
                "only_order_in_store": false,
                "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
                        }
                    ],
                    "file_id": 18,
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Dolorem repudiandae minus unde harum quia nisi voluptatem sequi."
                    },
                    "description": {
                        "en": "Maiores voluptatem enim cumque vero enim. Reiciendis sint sit inventore ullam. Vitae ea occaecati excepturi neque debitis ab."
                    },
                    "url": {
                        "en": "http://bosco.org/temporibus-voluptate-vitae-facilis-modi-ducimus-quod-et.html"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": "...",
                "category_ids": [
                    16,
                    12,
                    11
                ],
                "id": 13,
                "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
                        }
                    ],
                    "file_id": 17,
                    "white_background": true
                }
            },
            {
                "name": "...",
                "category_ids": [
                    13,
                    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
                        }
                    ],
                    "file_id": 15,
                    "white_background": true
                }
            },
            {
                "name": "...",
                "category_ids": [
                    10,
                    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
                        }
                    ],
                    "file_id": 16,
                    "white_background": true
                }
            }
        ],
        "allow_invoices": true,
        "category_groups_overview": false,
        "display_mode": "blocks",
        "takeout_use_intervals": true,
        "joyn_enabled": true,
        "category_overview": false,
        "fold_category_groups": false,
        "hours": [
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "07:59 - 16:23",
                            "07:59 - 16:23",
                            "07:59 - 16:23"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "07:10 - 13:35",
                            "07:10 - 13:35",
                            "07:10 - 13:35"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "06:59 - 15:14",
                            "06:59 - 15:14",
                            "06:59 - 15:14"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "08:28 - 13:40",
                            "08:28 - 13:40",
                            "08:28 - 13:40"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:31 - 11:12",
                            "09:31 - 11:12",
                            "09:31 - 11:12"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:45 - 21:41",
                            "09:45 - 21:41",
                            "09:45 - 21:41"
                        ]
                    }
                ]
            },
            {
                "name": "...",
                "description": "...",
                "type": "open",
                "hours": [
                    {
                        "days": "5",
                        "times": [
                            "09:57 - 19:24",
                            "09:57 - 19:24",
                            "09:57 - 19:24"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "07:21 - 21:20",
                            "07:21 - 21:20",
                            "07:21 - 21:20"
                        ]
                    },
                    {
                        "days": "5",
                        "times": [
                            "09:51 - 11:21",
                            "09:51 - 11:21",
                            "09:51 - 11:21"
                        ]
                    }
                ]
            }
        ],
        "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,
        "promotion": {
            "is_enabled": true,
            "title": "...",
            "type": "product",
            "id": 11,
            "custom_image_enabled": true,
            "photo": {
                "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
                    }
                ],
                "file_id": 14,
                "white_background": false
            }
        },
        "delivery": {
            "range": {
                "all_zipcodes": true,
                "has_max_range": true,
                "max_range": 13
            }
        },
        "currency": "EUR"
    }
]
1.9.0 stable