GET /company/shops/@id
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 | The ID of the shop you want to retrieve |
GET /company/shops/1405 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer d145a6e7f8984efdf28f7fb43d53215a6506856fcb1c6ae0888dc3b178866eff19f36b5000978dced37caf04285658aa7e3f934a48f189bf57212805e9d5028e44e09629a994e88e8c2ec3531f996dade5c185adeb3037770f934238b043522e69da15f4
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
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: 2261
{
"id": 1405,
"name": "Top of the Flour",
"active": true,
"address": {
"street": "De Grootedreef",
"nr": "63",
"zipcode": "8850",
"city": "Herve",
"country": "BE",
"position": {
"latitude": 51.05,
"longitude": 3.71667
}
},
"avatar": {
"resolutions": [
{
"src": "https://bakeronline.be/uploads/shop-avatars/1405/180x180/bakkerij-aernoudt-wondelgem.jpg",
"width": 240,
"height": 180
},
{
"src": "https://bakeronline.be/uploads/shop-avatars/1405/360x360/bakkerij-aernoudt-wondelgem.jpg",
"width": 450,
"height": 337
}
]
},
"banner": {
"resolutions": [
{
"src": "https://bakeronline.be/uploads/banner/1405/1300x315/bakkerij-ponnet-aalst.jpg",
"width": 300,
"height": 300
},
{
"src": "https://bakeronline.be/uploads/banner/1405/900x250/bakkerij-ponnet-aalst.jpg",
"width": 300,
"height": 300
}
]
},
"allow_comments": true,
"allow_orders": true,
"delivery_use_intervals": false,
"categories": [
{
"id": 2165,
"name": {
"nl": "Thistle"
},
"description": {
"nl": "This is a random description"
},
"banner": null,
"active": true,
"only_order_in_store": false,
"seo": {
"title": [],
"description": [],
"url": []
}
},
{
"id": 2166,
"name": {
"nl": "Sienna"
},
"description": {
"nl": "This is a random description"
},
"banner": null,
"active": true,
"only_order_in_store": false,
"seo": {
"title": [],
"description": [],
"url": []
}
}
],
"category_groups": []
}