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/19/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.8.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
emails Dictionary Email settings
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: 24544

[
    {
        "name": "Lila Oberbrunner",
        "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": false,
        "allow_product_comments": false,
        "takeout_use_intervals": true,
        "allow_order_messages": false,
        "categories": [
            {
                "name": "Katherine Huel PhD",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "code": "...",
                "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": "Illum ut sint illum sunt sunt."
                    },
                    "description": {
                        "en": "Et voluptatem quae error sint pariatur aut dolores. Voluptas enim recusandae aut ut unde repellat."
                    },
                    "url": {
                        "en": "https://www.ernser.info/alias-iure-repudiandae-voluptates-assumenda-eum-hic-occaecati-ut"
                    }
                }
            },
            {
                "name": "Mr. Candido Bogan",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "code": "...",
                "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": true
                },
                "seo": {
                    "title": {
                        "en": "Qui id deleniti est voluptas fuga inventore ratione dolor voluptates esse."
                    },
                    "description": {
                        "en": "At sed culpa quis magnam rerum molestiae accusantium et. Pariatur dolorem et modi minus et aspernatur dolore. Molestiae autem illo aut ut explicabo in velit. Ducimus tempora odio reiciendis quia eum."
                    },
                    "url": {
                        "en": "http://www.will.org/"
                    }
                }
            },
            {
                "name": "Carolina Jacobs",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": true,
                "code": "...",
                "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": "Ipsum et asperiores laboriosam quo qui quae vero."
                    },
                    "description": {
                        "en": "Aut veniam aut officia quos. Ut rerum quasi commodi. Tempore facere nulla aperiam quam quia nihil. Sit tempore explicabo illo qui et ut."
                    },
                    "url": {
                        "en": "http://heller.info/quam-aut-fugit-maxime-autem-architecto-repudiandae-quas"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    12,
                    12,
                    13
                ],
                "id": 19,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    11,
                    12,
                    17
                ],
                "id": 13,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    18,
                    18,
                    16
                ],
                "id": 16,
                "uuid": "..."
            }
        ],
        "currency": "...",
        "emails": {
            "note_for_customer": "..."
        },
        "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
        },
        "url": "..."
    },
    {
        "name": "Maxwell Von",
        "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,
        "allow_invoices": true,
        "allow_order_comments": true,
        "allow_product_comments": true,
        "takeout_use_intervals": false,
        "allow_order_messages": true,
        "categories": [
            {
                "name": "Murray Hermann",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": true,
                "code": "...",
                "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": "Blanditiis et voluptatum velit eum nemo molestias harum."
                    },
                    "description": {
                        "en": "Voluptatum nihil voluptate deserunt recusandae laborum. Non minima et perferendis explicabo mollitia."
                    },
                    "url": {
                        "en": "http://kozey.com/et-eaque-sunt-est-nisi-et-voluptate.html"
                    }
                }
            },
            {
                "name": "Dr. Libby Kertzmann I",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": true,
                "code": "...",
                "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": "Ex deserunt sed aut quis accusamus."
                    },
                    "description": {
                        "en": "Consequatur pariatur perferendis fuga animi explicabo porro. Ut magni placeat magni. Eum iste ut nam ut recusandae adipisci sunt id. Eum commodi rerum hic voluptates aut."
                    },
                    "url": {
                        "en": "http://www.emmerich.com/repudiandae-nisi-nobis-quam-molestiae-mollitia-soluta-ab.html"
                    }
                }
            },
            {
                "name": "Esmeralda Bashirian",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "code": "...",
                "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": "Eum temporibus labore reiciendis harum id occaecati laborum."
                    },
                    "description": {
                        "en": "Delectus nulla dolor magni iste. Eius et aliquam rerum distinctio doloribus autem nesciunt. Nobis nulla eaque ut soluta assumenda et. Nulla dolorem quia qui quia voluptatem repudiandae eveniet."
                    },
                    "url": {
                        "en": "https://www.metz.com/impedit-mollitia-nulla-dolore"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    11,
                    12,
                    16
                ],
                "id": 16,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    17,
                    10,
                    11
                ],
                "id": 19,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    16,
                    18,
                    14
                ],
                "id": 18,
                "uuid": "..."
            }
        ],
        "currency": "...",
        "emails": {
            "note_for_customer": "..."
        },
        "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": 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
        },
        "url": "..."
    },
    {
        "name": "Dominic McGlynn",
        "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,
        "allow_invoices": false,
        "allow_order_comments": true,
        "allow_product_comments": true,
        "takeout_use_intervals": false,
        "allow_order_messages": false,
        "categories": [
            {
                "name": "Scarlett McGlynn",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": true,
                "code": "...",
                "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": "Voluptatem recusandae nulla et sit illum."
                    },
                    "description": {
                        "en": "Quaerat debitis repellendus quae est et qui voluptates. Fugiat quos ducimus facilis. Pariatur vel sapiente molestias iusto deleniti quis. Rerum quasi id sint non rerum perspiciatis."
                    },
                    "url": {
                        "en": "http://block.info/"
                    }
                }
            },
            {
                "name": "Eve Veum",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": false,
                "code": "...",
                "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": "Laboriosam commodi deleniti omnis officiis omnis reiciendis qui velit voluptas eligendi molestias."
                    },
                    "description": {
                        "en": "Dicta molestiae tenetur enim ex nemo. Incidunt tempora iste in culpa distinctio. Nostrum voluptate id molestiae excepturi modi. Quisquam ipsa molestiae dolores voluptatem qui quis excepturi."
                    },
                    "url": {
                        "en": "http://wolff.com/"
                    }
                }
            },
            {
                "name": "Cordie Gottlieb",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": false,
                "code": "...",
                "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": "Odio nobis laboriosam quam cum animi id et reiciendis."
                    },
                    "description": {
                        "en": "Eos exercitationem sed esse aperiam quia. Fugiat quia ipsum odit sunt impedit id omnis. Nisi est voluptatum nobis id est numquam cum. Molestiae maxime qui odio temporibus."
                    },
                    "url": {
                        "en": "http://www.borer.com/ut-alias-repellat-ipsam-incidunt"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    17,
                    11,
                    19
                ],
                "id": 19,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    17,
                    10,
                    12
                ],
                "id": 15,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    14,
                    18,
                    15
                ],
                "id": 14,
                "uuid": "..."
            }
        ],
        "currency": "...",
        "emails": {
            "note_for_customer": "..."
        },
        "id": 19,
        "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.8.0 stable