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

[
    {
        "name": "Ila Mohr II",
        "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": true,
        "categories": [
            {
                "name": "Eldon Smith",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "id": 19,
                "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": "Ea ab cupiditate magnam ex eveniet sunt quia."
                    },
                    "description": {
                        "en": "Vitae voluptatem est velit quia exercitationem velit laborum. Ut aspernatur laudantium nobis et maxime porro incidunt."
                    },
                    "url": {
                        "en": "http://www.kirlin.info/quaerat-id-voluptatem-harum-et-rem"
                    }
                }
            },
            {
                "name": "Enoch Berge",
                "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": true
                },
                "seo": {
                    "title": {
                        "en": "Eius corrupti sunt tempore deleniti eaque voluptas ut velit deleniti."
                    },
                    "description": {
                        "en": "Et delectus nihil eum qui doloremque. Id aspernatur praesentium debitis non ipsum explicabo. Sint consectetur necessitatibus vitae rerum illo sit saepe. Est eos aut perspiciatis autem facere."
                    },
                    "url": {
                        "en": "http://www.okeefe.net/hic-eos-eaque-enim-sint-itaque-maxime"
                    }
                }
            },
            {
                "name": "Mr. Michel Weber 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": "Itaque minima voluptates qui delectus quibusdam velit labore eos asperiores optio."
                    },
                    "description": {
                        "en": "Pariatur facere veritatis dolorem consectetur. Soluta ipsum ut inventore minus. Quis non soluta natus debitis."
                    },
                    "url": {
                        "en": "http://www.bernier.org/dolorum-et-sunt-nisi-dolorum-nostrum-maiores-expedita"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    18,
                    12,
                    11
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    13,
                    11,
                    13
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    10,
                    15,
                    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": 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": "Mrs. Kristin Goodwin DVM",
        "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": "Dr. Dewitt Sanford MD",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": false,
                "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": "Minima impedit quaerat consectetur suscipit necessitatibus ut et voluptas delectus iusto tempora."
                    },
                    "description": {
                        "en": "Minus deserunt quia porro sequi eos nesciunt id. Aut libero corrupti consequatur."
                    },
                    "url": {
                        "en": "https://www.feeney.info/optio-quia-a-dolores-minima"
                    }
                }
            },
            {
                "name": "Marilyne Hauck",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "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": true
                },
                "seo": {
                    "title": {
                        "en": "Suscipit eum sint ad dolores id sunt aut quia dolores est."
                    },
                    "description": {
                        "en": "Aut illum iusto rerum. Praesentium eligendi eos pariatur architecto sed sapiente officia rerum. Eius quia officiis deserunt dolores doloribus eum distinctio illo."
                    },
                    "url": {
                        "en": "http://www.padberg.com/cum-esse-repellat-vitae-est"
                    }
                }
            },
            {
                "name": "Rita Stoltenberg",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "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": "Quis consequuntur aliquid sit consequuntur minima qui et et id id."
                    },
                    "description": {
                        "en": "Rerum mollitia velit architecto earum velit cupiditate qui. Laborum et placeat deleniti blanditiis et. Sunt tenetur autem eius sit quae ut ut. Delectus magnam sit numquam ullam sunt."
                    },
                    "url": {
                        "en": "http://rice.com/ex-tempore-animi-blanditiis-expedita-quas-eos-et"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    15,
                    18,
                    10
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    11,
                    15,
                    14
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    11,
                    16,
                    16
                ]
            }
        ],
        "id": 15,
        "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": "Dr. Adrien Rogahn",
        "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": true,
        "categories": [
            {
                "name": "Elissa Blanda",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "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": "Ut vero mollitia excepturi impedit architecto ut reprehenderit nulla."
                    },
                    "description": {
                        "en": "Sed voluptatum officiis qui voluptas voluptates. Eaque rem soluta saepe soluta atque. Id laboriosam aliquam et repudiandae sunt."
                    },
                    "url": {
                        "en": "http://www.okon.com/id-dicta-minus-sed-commodi-itaque-quia"
                    }
                }
            },
            {
                "name": "Alexzander Parisian PhD",
                "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": true
                },
                "seo": {
                    "title": {
                        "en": "Molestiae quo illum nihil dolorem saepe dolorem omnis reiciendis dolores aut."
                    },
                    "description": {
                        "en": "Est eum ex culpa. Voluptates et fugit consequatur eum exercitationem. Qui repudiandae et quis."
                    },
                    "url": {
                        "en": "https://toy.com/magnam-nesciunt-eum-voluptatum-ducimus-itaque-nam-vel.html"
                    }
                }
            },
            {
                "name": "Gianni Bernier Jr.",
                "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": true
                },
                "seo": {
                    "title": {
                        "en": "Qui nostrum maiores nihil non voluptate possimus quasi est officiis."
                    },
                    "description": {
                        "en": "Qui non libero et vel iusto qui. Non accusamus earum voluptatum id ut facere. Non ut qui quia nisi rem voluptas."
                    },
                    "url": {
                        "en": "http://www.price.com/consequatur-voluptatem-nam-deserunt-non-modi-quo-nobis-aliquid.html"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    19,
                    16,
                    15
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    17,
                    14,
                    12
                ]
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    12,
                    12,
                    11
                ]
            }
        ],
        "id": 10,
        "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
        }
    }
]
Version update available Please adjust your integration to the latest stable version (1.9.0)
0.3.0 stable