Get shop by url

GET /shops/url/@url

Request

Optional authentication

You can use authentication for this request, but it is not required. Always provide the access_token when you have one. It may affect the response.

Header Value
Authorization Optional. Set the value to Bearer + + access_token

URL parameters

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

A dictionary with fields

Field Type Description
url String A String value

Example request 1

GET /shops/url/... HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.2
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
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
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: 12234

{
    "id": 12,
    "name": "Dr. Antonette Sanford Jr.",
    "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,
    "offers": [
        {
            "id": 12,
            "name": "Black Friday"
        },
        {
            "id": 11,
            "name": "Black Friday"
        },
        {
            "id": 12,
            "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": true
        }
    },
    "allow_orders": false,
    "delivery_use_intervals": false,
    "categories": [
        {
            "id": 14,
            "name": "Shawn Labadie",
            "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": "Omnis id vero ducimus laborum unde tempore dicta."
                },
                "description": {
                    "en": "Debitis qui alias dolores sint. Modi cum veniam repellendus temporibus. Est et voluptas eveniet quod accusamus temporibus. Atque corporis vero fugit esse nihil. Et beatae ut reiciendis sint."
                },
                "url": {
                    "en": "https://www.gleichner.biz/repellendus-illum-eligendi-vel-reiciendis"
                }
            }
        },
        {
            "id": 10,
            "name": "Mr. Enid Bergstrom",
            "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": "Earum nostrum libero eligendi tempora eum placeat."
                },
                "description": {
                    "en": "Inventore ut error dolore autem et ea in. Maiores ducimus quia repellendus magni occaecati voluptatibus. Modi quas praesentium error iste tempore."
                },
                "url": {
                    "en": "http://bergnaum.org/"
                }
            }
        },
        {
            "id": 14,
            "name": "Yadira Prohaska",
            "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": "Soluta exercitationem voluptates voluptatem et libero explicabo quod odit."
                },
                "description": {
                    "en": "Perferendis voluptatem eos beatae mollitia. Tenetur tempore est aut autem voluptas officiis. Eum et quidem omnis qui."
                },
                "url": {
                    "en": "http://www.homenick.info/omnis-voluptatum-itaque-aliquam.html"
                }
            }
        }
    ],
    "category_groups": [
        {
            "name": "...",
            "category_ids": [
                16,
                19,
                11
            ],
            "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
                    }
                ],
                "white_background": false
            }
        },
        {
            "name": "...",
            "category_ids": [
                12,
                19,
                10
            ],
            "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
                    }
                ],
                "white_background": true
            }
        },
        {
            "name": "...",
            "category_ids": [
                19,
                16,
                15
            ],
            "id": 19,
            "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": true,
    "category_groups_overview": false,
    "display_mode": "blocks",
    "takeout_use_intervals": false,
    "joyn_enabled": false,
    "hours": [
        {
            "name": "...",
            "description": "...",
            "type": "open",
            "hours": [
                {
                    "days": "5",
                    "times": [
                        "08:14 - 14:55",
                        "08:14 - 14:55",
                        "08:14 - 14:55"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "06:52 - 12:19",
                        "06:52 - 12:19",
                        "06:52 - 12:19"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "06:18 - 21:46",
                        "06:18 - 21:46",
                        "06:18 - 21:46"
                    ]
                }
            ]
        },
        {
            "name": "...",
            "description": "...",
            "type": "open",
            "hours": [
                {
                    "days": "5",
                    "times": [
                        "07:27 - 18:38",
                        "07:27 - 18:38",
                        "07:27 - 18:38"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "08:26 - 13:50",
                        "08:26 - 13:50",
                        "08:26 - 13:50"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "09:48 - 20:52",
                        "09:48 - 20:52",
                        "09:48 - 20:52"
                    ]
                }
            ]
        },
        {
            "name": "...",
            "description": "...",
            "type": "open",
            "hours": [
                {
                    "days": "5",
                    "times": [
                        "09:38 - 10:20",
                        "09:38 - 10:20",
                        "09:38 - 10:20"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "08:14 - 12:47",
                        "08:14 - 12:47",
                        "08:14 - 12:47"
                    ]
                },
                {
                    "days": "5",
                    "times": [
                        "06:24 - 19:44",
                        "06:24 - 19:44",
                        "06:24 - 19:44"
                    ]
                }
            ]
        }
    ],
    "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.5.2 stable