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/11/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.7.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
allow_invoices Bool A boolean value
allow_order_comments Bool A boolean value
allow_product_comments Bool A boolean value
takeout_use_intervals Bool A boolean value
allow_order_messages 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.
currency String A String value
id Int ID of the shop
avatar Image? Nullable.
banner Image? Nullable.
url String URL the shop in case it is using a platform

Example response 1

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

[
    {
        "name": "Orie Langosh",
        "active": true,
        "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,
        "allow_invoices": true,
        "allow_order_comments": false,
        "allow_product_comments": false,
        "takeout_use_intervals": false,
        "allow_order_messages": false,
        "categories": [
            {
                "name": "Prof. Nikko Gislason",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": false,
                "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": false
                },
                "seo": {
                    "title": {
                        "en": "Similique et architecto non ut error quidem quaerat aperiam non."
                    },
                    "description": {
                        "en": "Iure nisi rerum esse. Debitis accusantium atque odio soluta quia. Aut labore sed ex adipisci itaque. Id nesciunt rerum numquam."
                    },
                    "url": {
                        "en": "http://www.murray.com/temporibus-voluptatem-eum-delectus-rerum"
                    }
                }
            },
            {
                "name": "Prof. Zelma Marvin",
                "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": true
                },
                "seo": {
                    "title": {
                        "en": "Autem velit dolorem ut maiores quis quis minus quis ipsam nesciunt a."
                    },
                    "description": {
                        "en": "Ut minima rerum incidunt sapiente rerum possimus. Quas voluptates aut laboriosam est praesentium a. Maiores quae aut qui."
                    },
                    "url": {
                        "en": "http://auer.info/"
                    }
                }
            },
            {
                "name": "Guillermo Huel",
                "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": "Voluptas enim dolor eligendi nisi eum aliquid quo nulla."
                    },
                    "description": {
                        "en": "Fugit dolores perferendis quia vitae. Eligendi minus non dolor dolor libero. Distinctio accusamus laudantium hic accusamus quasi ut non. Corrupti modi provident voluptas rerum voluptate officia."
                    },
                    "url": {
                        "en": "http://www.ohara.com/recusandae-quis-eveniet-recusandae-hic"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    16,
                    13,
                    14
                ],
                "id": 12,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    15,
                    14,
                    19
                ],
                "id": 13,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    19,
                    13,
                    18
                ],
                "id": 18,
                "uuid": "..."
            }
        ],
        "currency": "...",
        "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": 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
        },
        "url": "..."
    },
    {
        "name": "Jena Towne",
        "active": true,
        "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,
        "allow_invoices": false,
        "allow_order_comments": true,
        "allow_product_comments": true,
        "takeout_use_intervals": true,
        "allow_order_messages": false,
        "categories": [
            {
                "name": "Cordelia Welch",
                "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": "Consequatur est in ipsam distinctio est illum ut est."
                    },
                    "description": {
                        "en": "Temporibus eos magnam eos quae dolores harum. Non quo itaque vero repellat est. Fugit consectetur eum impedit aut impedit in ipsam aut. Rerum nesciunt aut enim et."
                    },
                    "url": {
                        "en": "http://www.anderson.org/voluptas-ut-non-doloribus-consectetur-velit-ad.html"
                    }
                }
            },
            {
                "name": "Leila Kihn",
                "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": "Tempore est quos vel eum sint sit impedit praesentium odio dolore."
                    },
                    "description": {
                        "en": "Sit ipsum ad reiciendis suscipit. Veritatis fugiat veniam et accusantium. Officiis in eaque et eveniet."
                    },
                    "url": {
                        "en": "http://skiles.org/facere-ea-est-quas-ipsam-dolor-sint.html"
                    }
                }
            },
            {
                "name": "Madge Gulgowski",
                "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": false
                },
                "seo": {
                    "title": {
                        "en": "Enim delectus atque delectus autem non numquam nihil impedit illo."
                    },
                    "description": {
                        "en": "Saepe necessitatibus harum similique sunt mollitia velit possimus iure. Est itaque exercitationem nemo sed. Maxime eum earum qui et sunt molestiae. Tempore ut et exercitationem."
                    },
                    "url": {
                        "en": "http://bayer.com/eligendi-aut-officia-ut-quibusdam-nobis-qui-atque.html"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    17,
                    17,
                    11
                ],
                "id": 12,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    12,
                    15,
                    19
                ],
                "id": 17,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    12,
                    11,
                    14
                ],
                "id": 13,
                "uuid": "..."
            }
        ],
        "currency": "...",
        "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": false
        },
        "url": "..."
    },
    {
        "name": "Dasia DuBuque Sr.",
        "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,
        "allow_invoices": false,
        "allow_order_comments": true,
        "allow_product_comments": false,
        "takeout_use_intervals": false,
        "allow_order_messages": true,
        "categories": [
            {
                "name": "Leland White",
                "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": true
                },
                "seo": {
                    "title": {
                        "en": "Expedita enim qui nesciunt harum dolorem dolorum animi porro ea nemo."
                    },
                    "description": {
                        "en": "Quidem aut iure aspernatur delectus dolore necessitatibus. Ut sunt et et perspiciatis minus aut ut. Nihil facilis architecto velit maiores in ullam laudantium."
                    },
                    "url": {
                        "en": "http://hahn.net/debitis-et-eaque-et-harum-enim-doloribus-quia-et"
                    }
                }
            },
            {
                "name": "Dr. Janae Romaguera",
                "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": false
                },
                "seo": {
                    "title": {
                        "en": "Et temporibus voluptas tenetur beatae quaerat nisi quis."
                    },
                    "description": {
                        "en": "Doloremque quis et est sed voluptatem. Alias delectus explicabo officia ullam. Et et recusandae dolor beatae sit totam."
                    },
                    "url": {
                        "en": "https://www.oreilly.com/animi-sed-aut-qui-delectus-vel-dolor-qui"
                    }
                }
            },
            {
                "name": "Brody O'Hara",
                "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": "Quae numquam adipisci et voluptatem voluptates."
                    },
                    "description": {
                        "en": "Natus impedit cumque dolores exercitationem laboriosam voluptas nisi eaque. Non voluptates placeat odio id quia. Consequatur nostrum est ex esse."
                    },
                    "url": {
                        "en": "http://www.gleason.com/ipsum-occaecati-perferendis-nulla"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    13,
                    11,
                    11
                ],
                "id": 16,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    17,
                    14,
                    10
                ],
                "id": 13,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    11,
                    14,
                    11
                ],
                "id": 12,
                "uuid": "..."
            }
        ],
        "currency": "...",
        "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": 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
        },
        "url": "..."
    }
]
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.7.0 stable