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/14/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.1.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: 22726

[
    {
        "name": "Dr. Howard Becker PhD",
        "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": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "name": "Precious Barton",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "id": 13,
                "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": "Voluptatem nesciunt nobis quia amet aut ut est ratione."
                    },
                    "description": {
                        "en": "Eius sed rerum dolores. Magnam in non voluptate itaque facilis. Aperiam deserunt maiores temporibus eum ea."
                    },
                    "url": {
                        "en": "https://ward.com/eligendi-commodi-tenetur-rerum-totam.html"
                    }
                }
            },
            {
                "name": "Caterina Mills",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": false,
                "id": 13,
                "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": "Dolorum et ea voluptatem illo aut consequatur est aut rerum cupiditate."
                    },
                    "description": {
                        "en": "Iusto voluptate qui suscipit dicta expedita. Et id non enim nobis itaque aut ut. Est laborum vel voluptas modi. Enim iure voluptatem inventore quaerat alias quod."
                    },
                    "url": {
                        "en": "http://www.stark.org/earum-velit-quo-eaque-itaque-placeat-nobis.html"
                    }
                }
            },
            {
                "name": "Christiana Aufderhar",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "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": "Qui et vero quia vel quis qui dicta quod ducimus."
                    },
                    "description": {
                        "en": "Quod dicta eius repellendus unde reiciendis dicta ut. Omnis ab quis qui vel saepe est quia. Blanditiis voluptatem harum quas et earum ut et. Quo consequatur error sint."
                    },
                    "url": {
                        "en": "http://www.hayes.net/"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    18,
                    12,
                    14
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    12,
                    18,
                    16
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    19,
                    18,
                    15
                ]
            }
        ],
        "id": 18,
        "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": true
        }
    },
    {
        "name": "Brendan Hauck I",
        "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": true,
        "delivery_use_intervals": false,
        "categories": [
            {
                "name": "Dewitt Kemmer V",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": true,
                "id": 11,
                "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": "Eligendi libero qui sapiente est iusto aut saepe nesciunt sapiente molestias."
                    },
                    "description": {
                        "en": "Voluptate est veniam aliquam non esse. Placeat molestiae dolor facilis sunt quo repudiandae. Ea laboriosam magni dolorem."
                    },
                    "url": {
                        "en": "https://www.berge.info/culpa-dolore-enim-impedit-quis"
                    }
                }
            },
            {
                "name": "Roel Larson III",
                "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": true
                },
                "seo": {
                    "title": {
                        "en": "Commodi sit eum a qui accusamus quam."
                    },
                    "description": {
                        "en": "Aut quis facilis ducimus harum nulla explicabo ad. Est sint recusandae dolore omnis suscipit. Repellat officiis doloremque quisquam et mollitia."
                    },
                    "url": {
                        "en": "http://schimmel.net/ad-sunt-qui-nihil-et-reprehenderit-ut-assumenda.html"
                    }
                }
            },
            {
                "name": "Katrina Cassin DDS",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "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": "Id voluptatum expedita blanditiis omnis aliquam saepe provident sed sed."
                    },
                    "description": {
                        "en": "Voluptatem fuga perferendis natus dolor tempore. Laborum quia ea omnis ad eveniet sint accusantium. Quae similique maiores fuga. Autem qui eos quod fugit cumque adipisci et."
                    },
                    "url": {
                        "en": "http://gibson.info/nulla-quia-a-id-modi-amet-ut-ut-labore"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    11,
                    18,
                    17
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    14,
                    15,
                    17
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    11,
                    19,
                    18
                ]
            }
        ],
        "id": 12,
        "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
        }
    },
    {
        "name": "Prof. Mossie Watsica",
        "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": false,
        "categories": [
            {
                "name": "Dr. Demarco Powlowski",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "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": false
                },
                "seo": {
                    "title": {
                        "en": "Voluptas deserunt amet ea vitae cupiditate odit recusandae maiores non."
                    },
                    "description": {
                        "en": "Eveniet inventore qui aliquid doloremque quis debitis laboriosam. A ullam non voluptatem quaerat. Error accusamus sint et earum."
                    },
                    "url": {
                        "en": "http://www.toy.com/quasi-sint-sit-facilis-excepturi-dicta-quibusdam-rerum"
                    }
                }
            },
            {
                "name": "Al Schroeder",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": false,
                "id": 16,
                "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": "Quos tenetur laboriosam doloribus adipisci et quas sit quia."
                    },
                    "description": {
                        "en": "Nulla mollitia ratione ea quod aut. Eos repellat quos dicta vitae."
                    },
                    "url": {
                        "en": "http://boyer.com/ut-eaque-porro-qui-non-praesentium-distinctio"
                    }
                }
            },
            {
                "name": "Misty Bartell",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": false,
                "id": 11,
                "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": "Tenetur nihil soluta neque commodi eum nobis in."
                    },
                    "description": {
                        "en": "Vero ratione id hic totam aut doloribus. Aliquid illum voluptatem impedit. Qui id et quo est quia. Voluptas voluptatem quis reprehenderit."
                    },
                    "url": {
                        "en": "http://www.smitham.com/tenetur-accusantium-ut-ipsum-voluptatem"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    19,
                    15,
                    16
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    17,
                    13,
                    14
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    16,
                    18,
                    18
                ]
            }
        ],
        "id": 11,
        "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
        }
    }
]
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.1.0 stable