Get shop by id

GET /shops/@id

Request

URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
id Int An integer value

Example request 1

GET /shops/11 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.7.0
Accept-Language: en-US,en;q=0.5

Response

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
offers [Offer.simple] Array of Offer.simple
images [String: Image] Dictionary of Image with keys of type String
allow_orders Bool A boolean value
delivery_use_intervals Bool A boolean value
categories [Category.simple] Array of Category.simple
category_groups [CategoryGroup] List of category groups. The ids refer to a category in the categories field. Categories without a CategoryGroup should also get displayed.
allow_invoices Bool A boolean value
category_groups_overview Bool Show an overview of all the category groups on the webshop homepage
display_mode String String enumarion of 'blocks', 'list'
takeout_use_intervals Bool A boolean value
joyn_enabled Bool A boolean value
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
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: 14541

{
    "id": 11,
    "name": "Melvina Cole",
    "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": false,
    "allow_order_messages": false,
    "offers": [
        {
            "id": 15,
            "name": "Black Friday"
        },
        {
            "id": 11,
            "name": "Black Friday"
        },
        {
            "id": 13,
            "name": "Black Friday"
        }
    ],
    "images": {
        "avatar": {
            "resolutions": [
                {
                    "src": "https://example.com",
                    "width": 600,
                    "height": 350
                },
                {
                    "src": "https://example.com",
                    "width": 600,
                    "height": 350
                },
                {
                    "src": "https://example.com",
                    "width": 600,
                    "height": 350
                }
            ],
            "white_background": false
        }
    },
    "allow_orders": false,
    "delivery_use_intervals": false,
    "categories": [
        {
            "id": 16,
            "name": "Derek Thompson",
            "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
            },
            "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
                    }
                ],
                "white_background": true
            },
            "seo": {
                "title": {
                    "en": "Nulla cum voluptas dicta eum odio provident autem reiciendis."
                },
                "description": {
                    "en": "Quia ducimus voluptas hic minima reprehenderit voluptatibus. Voluptas est quasi perferendis sit nihil vero repudiandae. Nobis est magnam numquam soluta nihil. Soluta voluptas nobis et atque modi eos."
                },
                "url": {
                    "en": "https://barton.com/vero-aut-natus-incidunt-nostrum-dolorum.html"
                }
            }
        },
        {
            "id": 17,
            "name": "Chadd Rosenbaum",
            "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
            },
            "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
                    }
                ],
                "white_background": false
            },
            "seo": {
                "title": {
                    "en": "Odit ipsum odio molestiae id."
                },
                "description": {
                    "en": "Non fugiat et id officiis velit. Eos facere eaque qui quo doloribus et. Voluptatibus dolor voluptas error dolorem accusantium doloremque. Hic excepturi et eaque."
                },
                "url": {
                    "en": "https://www.hartmann.com/quaerat-dolor-aliquam-voluptate-magnam"
                }
            }
        },
        {
            "id": 13,
            "name": "Amber Hayes",
            "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
            },
            "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
                    }
                ],
                "white_background": false
            },
            "seo": {
                "title": {
                    "en": "Ex incidunt eum est et eos atque dolore exercitationem quas laboriosam."
                },
                "description": {
                    "en": "Laudantium quae magnam officiis repudiandae nostrum. Deserunt dignissimos doloremque adipisci et. Cum fuga qui et dolorem corrupti quas. Quis optio cupiditate eius voluptas rerum aut."
                },
                "url": {
                    "en": "http://www.robel.com/non-recusandae-quasi-est-nostrum-quia-minus-ratione.html"
                }
            }
        }
    ],
    "category_groups": [
        {
            "name": "...",
            "category_ids": [
                15,
                12,
                16
            ],
            "id": 16,
            "image": {
                "resolutions": [
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    }
                ],
                "white_background": false
            }
        },
        {
            "name": "...",
            "category_ids": [
                10,
                17,
                11
            ],
            "id": 11,
            "image": {
                "resolutions": [
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    }
                ],
                "white_background": false
            }
        },
        {
            "name": "...",
            "category_ids": [
                16,
                15,
                12
            ],
            "id": 14,
            "image": {
                "resolutions": [
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    },
                    {
                        "src": "https://example.com",
                        "width": 600,
                        "height": 350
                    }
                ],
                "white_background": true
            }
        }
    ],
    "allow_invoices": false,
    "category_groups_overview": true,
    "display_mode": "blocks",
    "takeout_use_intervals": false,
    "joyn_enabled": false,
    "category_overview": true,
    "fold_category_groups": true,
    "hours": [
        {
            "name": "...",
            "description": "...",
            "type": "open",
            "hours": [
                {
                    "days": "5",
                    "times": [
                        "08:40 - 21:29",
                        "08:40 - 21:29",
                        "08:40 - 21:29"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "08:44 - 13:57",
                        "08:44 - 13:57",
                        "08:44 - 13:57"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "07:22 - 17:30",
                        "07:22 - 17:30",
                        "07:22 - 17:30"
                    ]
                }
            ]
        },
        {
            "name": "...",
            "description": "...",
            "type": "open",
            "hours": [
                {
                    "days": "5",
                    "times": [
                        "08:57 - 13:17",
                        "08:57 - 13:17",
                        "08:57 - 13:17"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "08:41 - 18:53",
                        "08:41 - 18:53",
                        "08:41 - 18:53"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "08:10 - 21:43",
                        "08:10 - 21:43",
                        "08:10 - 21:43"
                    ]
                }
            ]
        },
        {
            "name": "...",
            "description": "...",
            "type": "open",
            "hours": [
                {
                    "days": "5",
                    "times": [
                        "08:50 - 13:41",
                        "08:50 - 13:41",
                        "08:50 - 13:41"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "09:53 - 21:58",
                        "09:53 - 21:58",
                        "09:53 - 21:58"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "07:42 - 11:53",
                        "07:42 - 11:53",
                        "07:42 - 11:53"
                    ]
                }
            ]
        }
    ],
    "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,
    "currency": "EUR"
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.7.0 stable