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

Example response 1

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

[
    {
        "name": "Joey Kuhn",
        "active": false,
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE",
            "position": {
                "latitude": 1.54361,
                "longitude": 0.45645
            }
        },
        "allow_comments": true,
        "allow_orders": false,
        "delivery_use_intervals": false,
        "allow_invoices": false,
        "categories": [
            {
                "name": "Dr. Dale Lang",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "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": "Harum id sapiente dolor libero error dolorem ipsam recusandae explicabo."
                    },
                    "description": {
                        "en": "Omnis eligendi ex vitae itaque sed. Est nisi et occaecati commodi vero. Et labore eum explicabo cupiditate harum omnis. Qui quo quod ea dolor."
                    },
                    "url": {
                        "en": "http://hill.com/"
                    }
                }
            },
            {
                "name": "Martine Crooks PhD",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "id": 10,
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Fugiat autem eum ea dolore aliquid eum praesentium harum dolor."
                    },
                    "description": {
                        "en": "Reprehenderit dicta sed enim non fugiat minus. Et asperiores incidunt rerum commodi debitis."
                    },
                    "url": {
                        "en": "http://www.kiehn.biz/enim-voluptatem-officia-sunt-quam-magni-debitis"
                    }
                }
            },
            {
                "name": "Osbaldo Becker",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": false,
                "id": 18,
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Qui velit quia quibusdam voluptas sapiente occaecati."
                    },
                    "description": {
                        "en": "Eaque vel beatae ab quod ut. Harum quo ea nulla sunt architecto vitae consequatur. Quis veniam eos nisi rerum. Sit aliquid ipsa quaerat perspiciatis doloribus veritatis in."
                    },
                    "url": {
                        "en": "http://bosco.org/"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    16,
                    11,
                    13
                ],
                "id": 12,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    17,
                    10,
                    11
                ],
                "id": 12,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    10,
                    12,
                    10
                ],
                "id": 15,
                "uuid": "..."
            }
        ],
        "currency": "...",
        "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": "Mr. Donny Mueller V",
        "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": true,
        "allow_invoices": true,
        "categories": [
            {
                "name": "Mr. Casey Hirthe",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "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": "Quia ea possimus corporis sed et consequuntur."
                    },
                    "description": {
                        "en": "Occaecati in et eum nisi ex est. Consectetur quaerat vel non numquam. In omnis similique ad molestias rerum illum. Unde vero dolorem ab aut ea earum."
                    },
                    "url": {
                        "en": "http://beatty.org/eaque-omnis-officiis-rerum-et-numquam-alias-nostrum"
                    }
                }
            },
            {
                "name": "Adela Pollich",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": true,
                "id": 14,
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Fuga non nulla laboriosam ratione culpa eos optio sed molestias."
                    },
                    "description": {
                        "en": "Deleniti dolorem iste cum ipsa sed. Harum ut quod iure illum et est. Dolorum debitis non qui delectus saepe voluptatem."
                    },
                    "url": {
                        "en": "http://goodwin.org/quibusdam-officia-quisquam-ut-aut-animi-voluptas-quaerat-maiores"
                    }
                }
            },
            {
                "name": "Mr. Camron Abbott MD",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "only_order_in_store": false,
                "id": 12,
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": false
                },
                "seo": {
                    "title": {
                        "en": "Corrupti quibusdam atque enim eum deleniti velit sit aut id voluptatibus."
                    },
                    "description": {
                        "en": "Eligendi molestiae aut culpa aliquam dolorem corporis. Velit expedita nisi iusto dolor. Non cumque quasi dignissimos ducimus. Dolorum aut maxime libero voluptatem voluptates laboriosam nihil."
                    },
                    "url": {
                        "en": "http://reichel.net/asperiores-dolores-itaque-nemo-ut-enim-rerum-et"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    19,
                    14,
                    11
                ],
                "id": 18,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    17,
                    18,
                    17
                ],
                "id": 19,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    17,
                    17,
                    16
                ],
                "id": 14,
                "uuid": "..."
            }
        ],
        "currency": "...",
        "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": true
        }
    },
    {
        "name": "Dudley Osinski",
        "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,
        "categories": [
            {
                "name": "Elfrieda Graham",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "id": 10,
                "banner": {
                    "resolutions": [
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        },
                        {
                            "src": "https://example.com",
                            "width": 600,
                            "height": 350
                        }
                    ],
                    "white_background": true
                },
                "seo": {
                    "title": {
                        "en": "Sed mollitia numquam ut sit ut quis."
                    },
                    "description": {
                        "en": "Et alias consectetur veniam unde. Placeat et nisi deleniti architecto labore eum. Optio autem perferendis voluptas velit illum id accusamus."
                    },
                    "url": {
                        "en": "https://www.raynor.net/sed-quia-aliquam-nobis-harum"
                    }
                }
            },
            {
                "name": "Prof. Genevieve Mills",
                "description": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "only_order_in_store": true,
                "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": "Consequatur voluptatem voluptatem dolorum dolor amet voluptatem officia nihil magni."
                    },
                    "description": {
                        "en": "Eaque qui dignissimos dolorum asperiores eum sit. Repellendus ducimus sed at atque. Blanditiis perspiciatis et quo dicta sit nam est. Unde dolores soluta atque iure."
                    },
                    "url": {
                        "en": "http://kiehn.org/et-voluptate-earum-quis-et-nobis-tempore.html"
                    }
                }
            },
            {
                "name": "Percy Cassin",
                "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": "Veritatis aut rerum omnis voluptas est ad vel fugiat."
                    },
                    "description": {
                        "en": "Animi laborum nam nisi saepe et. Accusantium ea minus eaque voluptates ab magnam. Occaecati omnis mollitia quia qui sequi quis impedit. Exercitationem doloremque accusamus animi nulla ut ab."
                    },
                    "url": {
                        "en": "http://www.stiedemann.com/expedita-consequatur-a-omnis-dignissimos.html"
                    }
                }
            }
        ],
        "category_groups": [
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    12,
                    16,
                    19
                ],
                "id": 14,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": false,
                "category_ids": [
                    10,
                    17,
                    14
                ],
                "id": 11,
                "uuid": "..."
            },
            {
                "name": {
                    "nl": "...",
                    "en": "...",
                    "fr": "..."
                },
                "active": true,
                "category_ids": [
                    11,
                    17,
                    15
                ],
                "id": 10,
                "uuid": "..."
            }
        ],
        "currency": "...",
        "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": 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
        }
    }
]
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.5.1 stable