Get all the shops of a company

GET /company/companies/@id/shops

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization 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
id Int Return all shops of the given company

Example request 1

GET /company/companies/16/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.3.0
Accept-Language: en-US,en;q=0.5

Response

Array of company.Shop.detailed: [company.Shop.detailed]

company.Shop.detailed

Field Type Description
name String Name of the shop (not translateable for now)
active Bool A boolean value
address Address.detailed An address
allow_comments Bool A boolean value
allow_orders Bool A boolean value
delivery_use_intervals Bool A boolean value
categories [company.Category.simple] List of the categories of all the categories visible for the shop
category_groups [company.CategoryGroup] List of the category groups linked to the shop. More information can be found on the category group documentation page.
id Int ID of the shop
avatar Image? Nullable.
banner Image? Nullable.

Example response 1

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

[
    {
        "name": "Wellington Schumm",
        "active": true,
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE",
            "position": {
                "latitude": 1.54361,
                "longitude": 0.45645
            }
        },
        "allow_comments": false,
        "allow_orders": true,
        "delivery_use_intervals": true,
        "categories": [
            {
                "name": "Dr. Alfredo Yost MD",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": false,
                "id": 18,
                "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": "Et repellat quisquam mollitia fuga atque expedita illo culpa quis quis."
                    },
                    "description": {
                        "en": "Magni expedita quibusdam totam deleniti debitis nesciunt. Libero quas odio sint sit. Saepe beatae commodi adipisci. Eaque aut consequatur voluptatem quos est."
                    },
                    "url": {
                        "en": "http://stamm.net/"
                    }
                }
            },
            {
                "name": "Alba Kuhlman",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": true,
                "id": 10,
                "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": "Ea temporibus molestiae ipsam quia aut dolor officiis."
                    },
                    "description": {
                        "en": "Nam enim deleniti aut aut odio. Ad ullam est quibusdam veniam voluptatem sed. Sit doloribus neque ut est odio sed. Sint itaque at cupiditate id commodi harum totam excepturi."
                    },
                    "url": {
                        "en": "http://www.kutch.com/"
                    }
                }
            },
            {
                "name": "Annette Gutmann",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "id": 14,
                "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": "Magni occaecati aut ab rem labore."
                    },
                    "description": {
                        "en": "In officia facilis minus fugiat magni quo et. Provident rem quam quia in non. Id ratione voluptatibus minima aliquam. Quos quaerat facilis ipsam est fugiat recusandae."
                    },
                    "url": {
                        "en": "http://baumbach.com/molestias-dolor-est-consequatur-optio"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    15,
                    10,
                    17
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    14,
                    16,
                    12
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    12,
                    19,
                    10
                ]
            }
        ],
        "id": 16,
        "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
        },
        "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
        }
    },
    {
        "name": "Mrs. Ardith Kunde DDS",
        "active": false,
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE",
            "position": {
                "latitude": 1.54361,
                "longitude": 0.45645
            }
        },
        "allow_comments": false,
        "allow_orders": false,
        "delivery_use_intervals": false,
        "categories": [
            {
                "name": "Stefanie Nolan",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": false,
                "id": 10,
                "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": "Eveniet vel in molestiae eveniet possimus."
                    },
                    "description": {
                        "en": "Dolorum voluptatum nisi nam quos. Et eos non eos veritatis aut odit. Aperiam saepe quia pariatur fugiat ducimus unde reiciendis. Et reiciendis ut ut id ab."
                    },
                    "url": {
                        "en": "http://johns.info/explicabo-aut-cupiditate-perspiciatis-non-amet-illum-quae"
                    }
                }
            },
            {
                "name": "Mrs. Mireille Ondricka III",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "id": 17,
                "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": "Et quidem id earum rem enim."
                    },
                    "description": {
                        "en": "Velit sed quasi at qui omnis quo assumenda quia. Quia labore atque occaecati est recusandae natus est. Natus minima eum id."
                    },
                    "url": {
                        "en": "http://www.kemmer.biz/sint-rerum-dolor-provident-in-et-ea-corporis-totam"
                    }
                }
            },
            {
                "name": "Ms. Elna Wisozk",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": false,
                "id": 18,
                "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": "Magni nulla earum cum exercitationem odit veritatis delectus dicta earum dolorem."
                    },
                    "description": {
                        "en": "Maxime facere aspernatur quasi consequatur id aut officia. Vel aut quidem repellat iste nemo."
                    },
                    "url": {
                        "en": "http://www.nolan.info/"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    14,
                    10,
                    11
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    12,
                    18,
                    11
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    16,
                    17,
                    10
                ]
            }
        ],
        "id": 14,
        "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
        },
        "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
        }
    },
    {
        "name": "Emmalee Auer",
        "active": false,
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE",
            "position": {
                "latitude": 1.54361,
                "longitude": 0.45645
            }
        },
        "allow_comments": true,
        "allow_orders": false,
        "delivery_use_intervals": false,
        "categories": [
            {
                "name": "Sarai Johnston",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": false,
                "id": 15,
                "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": "Atque sequi debitis enim occaecati expedita qui saepe non."
                    },
                    "description": {
                        "en": "Voluptatem incidunt aut est aut. Ullam inventore necessitatibus totam. Exercitationem rerum veniam eos sint officiis impedit ut. Ex similique odit nihil quaerat."
                    },
                    "url": {
                        "en": "http://beatty.com/"
                    }
                }
            },
            {
                "name": "Joseph Kris",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": false,
                "id": 12,
                "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": "Impedit exercitationem id quibusdam praesentium sed commodi nobis aut qui ipsam."
                    },
                    "description": {
                        "en": "Voluptas ipsam sed ipsam ullam aut deleniti. Laborum distinctio consequuntur omnis nostrum. Maxime et voluptatem fugit maiores. Autem dolorem consectetur temporibus vitae."
                    },
                    "url": {
                        "en": "http://www.carter.info/quaerat-quo-unde-autem-reiciendis"
                    }
                }
            },
            {
                "name": "Jaquelin Crist",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": true,
                "id": 12,
                "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 ut et doloribus commodi voluptates perspiciatis rerum numquam quis laudantium."
                    },
                    "description": {
                        "en": "Illo nobis ea laudantium qui dolorem recusandae illum consequuntur. Voluptates iste a est est amet officia qui laudantium. Molestiae velit quia ut deleniti ipsum molestiae eius."
                    },
                    "url": {
                        "en": "http://hamill.com/"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    15,
                    19,
                    14
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    19,
                    17,
                    18
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    10,
                    12,
                    14
                ]
            }
        ],
        "id": 17,
        "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
        },
        "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
        }
    }
]
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.3.0 stable