GET /company/companies/@id/shops
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
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 |
GET /company/companies/10/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.2.0
Accept-Language: en-US,en;q=0.5
Array of 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. |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 22788
[
{
"name": "Marcus Powlowski",
"active": false,
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": true,
"allow_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"name": "Dr. Gunnar Hudson",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"only_order_in_store": false,
"id": 15,
"banner": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"seo": {
"title": {
"en": "Consequatur laborum autem ullam id eaque vel."
},
"description": {
"en": "Ipsum sequi voluptates mollitia molestiae consequuntur id porro. Facilis ab sit et iusto. Fugit ipsa repellendus qui repudiandae rerum magnam saepe."
},
"url": {
"en": "http://kilback.com/blanditiis-ut-aspernatur-veritatis-dignissimos"
}
}
},
{
"name": "Kelli Predovic",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"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": true
},
"seo": {
"title": {
"en": "Cumque sunt est ex commodi quo provident sit autem aperiam."
},
"description": {
"en": "Quia minima ipsa eos rerum rerum. Qui unde asperiores et quo unde nesciunt. Ut eos dolor sed odio soluta rem."
},
"url": {
"en": "http://www.hane.org/"
}
}
},
{
"name": "Bill Huel",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"only_order_in_store": false,
"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": "Corporis nam animi ullam et deleniti officia."
},
"description": {
"en": "Sunt quidem maxime provident non. Occaecati minima aut et veniam. Eum corrupti ut accusantium aut quia et a. Sit amet itaque reprehenderit quas culpa eaque quo suscipit."
},
"url": {
"en": "http://flatley.com/molestiae-voluptas-ut-et-consequatur-fugit"
}
}
}
],
"category_groups": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
12,
13,
11
]
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
15,
12,
14
]
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
11,
17,
12
]
}
],
"id": 13,
"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": "Nina Gottlieb DDS",
"active": true,
"address": {
"street": "Sint-Denijslaan",
"nr": "96",
"zipcode": "9000",
"city": "Gent",
"country": "BE",
"position": {
"latitude": 1.54361,
"longitude": 0.45645
}
},
"allow_comments": false,
"allow_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"name": "Ms. Tabitha Rogahn",
"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": "Sint autem nam nobis voluptate nihil velit iure velit."
},
"description": {
"en": "Nostrum dolores dolores culpa esse ut quia. Eaque vitae tempora tempora est alias suscipit perferendis. Quis enim quidem suscipit magni pariatur necessitatibus. Sint eius autem assumenda asperiores."
},
"url": {
"en": "http://www.hill.net/minima-deleniti-quidem-inventore-consectetur-quae-ut-voluptatum"
}
}
},
{
"name": "Dr. Melyna Towne IV",
"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": "Harum recusandae asperiores odio ut explicabo ut."
},
"description": {
"en": "Ad culpa ut similique enim. Sit impedit temporibus nihil quidem voluptas sint."
},
"url": {
"en": "http://www.parisian.biz/animi-ut-repudiandae-odio.html"
}
}
},
{
"name": "Dr. Harvey Olson",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"only_order_in_store": true,
"id": 15,
"banner": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"seo": {
"title": {
"en": "Amet laudantium error vel dignissimos corporis molestiae modi."
},
"description": {
"en": "Assumenda repudiandae minima nulla vero id est totam. Sit repellendus sit corrupti repellat numquam et maxime. Eveniet natus molestias ut et fugiat. Rerum sed delectus officiis ut consequuntur."
},
"url": {
"en": "http://schaefer.com/nemo-magni-ad-mollitia-tempora-fuga-sunt-unde"
}
}
}
],
"category_groups": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
13,
15,
18
]
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
13,
15,
11
]
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
10,
12,
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": 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": "Ms. Dorothy Kuhn PhD",
"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,
"categories": [
{
"name": "Alfred Gerlach",
"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": true
},
"seo": {
"title": {
"en": "Culpa quo ducimus natus est qui."
},
"description": {
"en": "Et saepe voluptates inventore qui accusantium quaerat. Autem et amet omnis. Alias perspiciatis quae quisquam consectetur nostrum iure. Veritatis voluptas autem maxime quia possimus nesciunt omnis."
},
"url": {
"en": "http://www.dickens.com/"
}
}
},
{
"name": "Estelle Thompson V",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"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": false
},
"seo": {
"title": {
"en": "Est enim ratione labore sunt exercitationem sed est dolores ea."
},
"description": {
"en": "Amet occaecati ipsum dolor porro ea sed aut et. Ipsam rerum tempore iste. Amet et eos dolor libero. Non provident quia error incidunt error inventore eum."
},
"url": {
"en": "http://nitzsche.biz/et-voluptatibus-facilis-nobis-provident-aliquid-commodi"
}
}
},
{
"name": "Lucio Donnelly",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"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": false
},
"seo": {
"title": {
"en": "Deleniti distinctio provident sint ex placeat soluta."
},
"description": {
"en": "Quod ipsum quisquam tempore. Doloribus rerum consequatur est reiciendis quas in quibusdam. Facilis sit quisquam explicabo quas."
},
"url": {
"en": "http://www.feest.com/vero-nam-provident-impedit-magnam-nihil.html"
}
}
}
],
"category_groups": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
12,
17,
15
]
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
12,
17,
12
]
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
11,
11,
15
]
}
],
"id": 18,
"avatar": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
},
"banner": {
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": false
}
}
]