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/12/shops HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.2
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 |
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 |
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. |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 23878
[
{
"name": "Mr. Marley Torphy",
"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": false,
"delivery_use_intervals": false,
"allow_invoices": false,
"allow_order_comments": false,
"allow_product_comments": false,
"takeout_use_intervals": false,
"categories": [
{
"name": "Mrs. Edyth Jast II",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"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": "Voluptatem tempora ab tenetur exercitationem quaerat quis omnis eius sed."
},
"description": {
"en": "Voluptates soluta qui rem rerum. Voluptates voluptatem autem et est sequi maxime et. Maiores dolorum recusandae nobis excepturi. In quia pariatur rem nesciunt minus libero sed."
},
"url": {
"en": "http://leffler.com/facere-eius-vitae-atque-sed-qui-id-quibusdam-ad"
}
}
},
{
"name": "Kaitlin Gerlach",
"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": "Dolorem et occaecati aliquam voluptas quia."
},
"description": {
"en": "Ullam repellat magni est labore tempore autem. Iure eligendi rerum nihil doloremque minima. Quis repudiandae et optio. Placeat nulla voluptatem optio."
},
"url": {
"en": "http://jaskolski.com/facilis-eum-esse-ullam-quia.html"
}
}
},
{
"name": "Miss Fanny Altenwerth",
"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": "Qui officia et alias harum ad inventore quae occaecati."
},
"description": {
"en": "Repellendus ratione sit quia ut voluptatem nobis soluta omnis. Est perspiciatis qui accusantium et similique. Officia aperiam tempore aut qui."
},
"url": {
"en": "http://adams.info/consectetur-accusantium-in-et-minima-aut-laborum"
}
}
}
],
"category_groups": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
17,
18,
13
],
"id": 18,
"uuid": "..."
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
18,
15,
19
],
"id": 15,
"uuid": "..."
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
10,
15,
14
],
"id": 11,
"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": 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. Esteban Wiegand",
"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": true,
"categories": [
{
"name": "Mr. Lamont Roob III",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"only_order_in_store": true,
"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": "Sunt voluptas iste sint voluptas iste non provident."
},
"description": {
"en": "Quasi illum corrupti et distinctio. Similique quia sunt necessitatibus dolor in vitae distinctio. Exercitationem dolore molestiae minima consequatur sunt nihil."
},
"url": {
"en": "http://www.ebert.org/"
}
}
},
{
"name": "Ms. Vivienne D'Amore IV",
"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": "Quia atque quidem sit error similique ducimus in harum quia."
},
"description": {
"en": "Vel omnis et dolore illum dolorem assumenda. Natus libero eligendi aspernatur et. Mollitia eaque nemo ratione et. Commodi quod animi provident blanditiis qui nemo voluptate."
},
"url": {
"en": "http://www.tremblay.com/reprehenderit-ex-quibusdam-sequi-doloribus"
}
}
},
{
"name": "George Deckow Jr.",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"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": "Voluptatum quo officia velit sint sit velit et."
},
"description": {
"en": "Odit odio voluptatibus vel eveniet. Inventore reiciendis iste repellat facere molestiae. Dicta ut voluptas consequuntur. Nesciunt delectus modi eius enim."
},
"url": {
"en": "http://torp.info/magnam-dolor-exercitationem-sit-et-rerum.html"
}
}
}
],
"category_groups": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
16,
11,
14
],
"id": 10,
"uuid": "..."
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
17,
15,
13
],
"id": 14,
"uuid": "..."
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
15,
12,
10
],
"id": 14,
"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": 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
}
},
{
"name": "Schuyler Koch",
"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": true,
"allow_order_comments": true,
"allow_product_comments": true,
"takeout_use_intervals": false,
"categories": [
{
"name": "Retta Collins",
"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": false
},
"seo": {
"title": {
"en": "Laboriosam voluptatem et et laboriosam magnam aperiam quisquam officiis."
},
"description": {
"en": "A qui facilis eum saepe. Quae tempore et rerum aut eum non. Exercitationem veritatis voluptatem id consequuntur totam."
},
"url": {
"en": "http://donnelly.com/voluptatum-dolores-similique-id-perspiciatis-quia-eius-voluptatem-consequatur.html"
}
}
},
{
"name": "Heloise Strosin",
"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": true
},
"seo": {
"title": {
"en": "Sed non esse dolor harum amet odit minus."
},
"description": {
"en": "Modi impedit et consequatur ut. Neque voluptatem officiis quos nesciunt iure. Rerum est et quam. Voluptatem et sapiente aut. Incidunt sunt et fuga dolores reprehenderit."
},
"url": {
"en": "http://rogahn.com/cum-sit-facilis-et"
}
}
},
{
"name": "Deon Legros",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"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": true
},
"seo": {
"title": {
"en": "Voluptates quas maxime iure sint facilis sit."
},
"description": {
"en": "Et et molestias omnis ut. Doloribus eius laboriosam voluptatem incidunt nisi. Dolorem numquam esse nulla."
},
"url": {
"en": "http://dubuque.net/perferendis-et-omnis-ullam-qui-provident-sit-non-non"
}
}
}
],
"category_groups": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
18,
12,
18
],
"id": 12,
"uuid": "..."
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
11,
14,
15
],
"id": 16,
"uuid": "..."
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"category_ids": [
17,
14,
19
],
"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": 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
}
}
]