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/19 HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.9.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 |
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 |
internal_name | String | A name for the shop that's more clear to people working for the shop when navigating the shop settings, order lists or statistics. |
VAT | String | VAT number |
bank_account_number | String | A String value |
links | Dictionary | A dictionary with fields |
content | Dictionary | A dictionary with fields |
contact | Dictionary | A dictionary with fields |
display | Dictionary | A dictionary with fields |
spotlight | Dictionary | Set product or category in the spotlight. |
comments | Dictionary | Comment related settings |
checkout | Dictionary | Checkout related settings |
time | Dictionary | A dictionary with fields |
discount | Dictionary | A dictionary with fields |
latches | Dictionary | A dictionary with fields |
modules | Dictionary | A dictionary with fields |
id | Int | ID of the shop |
avatar | Image? | Nullable. |
banner | Image? | Nullable. |
url | String | URL the shop in case it is using a platform |
placeholder | Image? | Nullable. |
photos | [Image] | Array of Image |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 42507
{
"name": "Mrs. Stella Hauck",
"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": true,
"allow_invoices": false,
"allow_order_comments": true,
"allow_product_comments": false,
"takeout_use_intervals": false,
"allow_order_messages": false,
"categories": [
{
"name": "Giovani West",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"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
}
],
"file_id": 12,
"white_background": true
},
"overview_image": {
"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
}
],
"file_id": 18,
"white_background": false
},
"seo": {
"title": {
"en": "Praesentium provident esse porro natus quis."
},
"description": {
"en": "Et similique sequi impedit ullam adipisci asperiores. Voluptas debitis rerum incidunt asperiores quo. Nihil et repellendus quod. Sunt voluptatem quod est autem minus quia quaerat."
},
"url": {
"en": "http://www.leuschke.com/"
}
}
},
{
"name": "Jaeden Gaylord",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"only_order_in_store": false,
"code": "...",
"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
}
],
"file_id": 14,
"white_background": true
},
"overview_image": {
"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
}
],
"file_id": 14,
"white_background": false
},
"seo": {
"title": {
"en": "Quam et soluta officia ut voluptatem similique corrupti eum occaecati sunt."
},
"description": {
"en": "Non nihil vero ut corrupti eos. Dolorem esse voluptas totam fugiat. Et sint animi maiores aperiam. Sunt qui illo fugiat alias ex et error. Magnam quae et eaque eligendi. Facere iste nam dicta et."
},
"url": {
"en": "http://lakin.info/quia-placeat-illo-impedit-nobis-error-natus"
}
}
},
{
"name": "Zakary Ledner",
"description": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": false,
"only_order_in_store": false,
"code": "...",
"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
}
],
"file_id": 12,
"white_background": true
},
"overview_image": {
"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
}
],
"file_id": 17,
"white_background": true
},
"seo": {
"title": {
"en": "Quia id nisi id libero et quis ea."
},
"description": {
"en": "Quia repellendus tempora repellendus eaque similique sunt. Accusamus omnis corrupti iusto eius omnis. Vel repudiandae et itaque."
},
"url": {
"en": "http://www.hahn.org/pariatur-est-sit-nesciunt-ex-dolorum"
}
}
}
],
"category_groups": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
14,
19,
10
],
"id": 10,
"overview_image": {
"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
}
],
"file_id": 11,
"white_background": false
},
"uuid": "...",
"order": 16
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
17,
16,
13
],
"id": 18,
"overview_image": {
"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
}
],
"file_id": 11,
"white_background": false
},
"uuid": "...",
"order": 12
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"active": true,
"category_ids": [
13,
16,
15
],
"id": 16,
"overview_image": {
"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
}
],
"file_id": 11,
"white_background": false
},
"uuid": "...",
"order": 11
}
],
"currency": "...",
"emails": {
"note_for_customer": "..."
},
"internal_name": "...",
"VAT": "...",
"bank_account_number": "...",
"links": {
"website": "https://example.com",
"twitter": "https://example.com",
"facebook": "https://example.com",
"instagram": "https://example.com",
"youtube": "https://example.com",
"pinterest": "https://example.com",
"snapchat": "https://example.com"
},
"content": {
"specialties": "...",
"about_us": "...",
"customer_message": "..."
},
"contact": {
"telephone": "...",
"email": "..."
},
"display": {
"display_mode": "blocks",
"collapse_category_groups": true,
"show_category_overview": true,
"show_category_group_overview": false
},
"spotlight": {
"enable": false,
"title": "...",
"type": "product",
"id": 11,
"photo": {
"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
}
],
"file_id": 18,
"white_background": false
}
},
"comments": {
"disable_when_order_is_approved": false
},
"checkout": {
"warranty": {
"ask_for_bank_account_number": true
},
"invoicing": {
"allow": false,
"cost": 18,
"ignore_cost_if_above": 13,
"ignore_cost_if_above_enable": false,
"generate": {
"enable": false,
"expire_days": 19
}
},
"takeout": {
"enable": true,
"auto_approve_orders": false,
"payment_methods": {
"cash": true,
"cash_if_targetprice_isop": true,
"online": false,
"online_if_targetprice": false,
"banktransfer": true,
"banktransfer_with_invoice": true,
"bank_account_numbers": [
{
"name": "...",
"number": "..."
},
{
"name": "...",
"number": "..."
},
{
"name": "...",
"number": "..."
}
]
},
"max_orders": {
"items": [
{
"max_per": "hour",
"max_amount": 10,
"days": {
"all": false,
"custom": [
13,
18,
11
]
},
"intervals": [
{
"max_amount": 18,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 10,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 17,
"start": "12:00",
"end": "12:00"
}
]
},
{
"max_per": "hour",
"max_amount": 19,
"days": {
"all": false,
"custom": [
14,
14,
12
]
},
"intervals": [
{
"max_amount": 15,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 13,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 15,
"start": "12:00",
"end": "12:00"
}
]
},
{
"max_per": "hour",
"max_amount": 13,
"days": {
"all": true,
"custom": [
15,
11,
17
]
},
"intervals": [
{
"max_amount": 18,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 16,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 16,
"start": "12:00",
"end": "12:00"
}
]
}
]
}
},
"delivery": {
"enable": true,
"auto_approve_orders": true,
"info_message": "...",
"minimum_order_price": 15,
"payment_methods": {
"cash": true,
"cash_if_targetprice_isop": true,
"online": true,
"online_if_targetprice": false,
"banktransfer": true,
"banktransfer_with_invoice": true,
"bank_account_numbers": [
{
"name": "...",
"number": "..."
},
{
"name": "...",
"number": "..."
},
{
"name": "...",
"number": "..."
}
]
},
"max_orders": {
"items": [
{
"max_per": "hour",
"max_amount": 15,
"days": {
"all": true,
"custom": [
13,
17,
11
]
},
"intervals": [
{
"max_amount": 12,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 17,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 15,
"start": "12:00",
"end": "12:00"
}
]
},
{
"max_per": "hour",
"max_amount": 17,
"days": {
"all": true,
"custom": [
13,
18,
13
]
},
"intervals": [
{
"max_amount": 10,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 13,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 16,
"start": "12:00",
"end": "12:00"
}
]
},
{
"max_per": "hour",
"max_amount": 17,
"days": {
"all": false,
"custom": [
11,
16,
18
]
},
"intervals": [
{
"max_amount": 10,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 12,
"start": "12:00",
"end": "12:00"
},
{
"max_amount": 14,
"start": "12:00",
"end": "12:00"
}
]
}
]
},
"cost": {
"type": "fixed",
"cost_per_day": {
"d1": 11,
"d2": 19,
"d3": 17,
"d4": 13,
"d5": 10,
"d6": 14,
"d7": 11
},
"alternative": {
"enable": false,
"order_price": 13,
"cost_per_day": {
"d1": 15,
"d2": 13,
"d3": 13,
"d4": 16,
"d5": 14,
"d6": 11,
"d7": 16
}
},
"distance_alternatives": [
{
"distance": 18,
"cost_per_day": {
"d1": 11,
"d2": 19,
"d3": 11,
"d4": 10,
"d5": 10,
"d6": 10,
"d7": 14
}
},
{
"distance": 19,
"cost_per_day": {
"d1": 12,
"d2": 17,
"d3": 14,
"d4": 14,
"d5": 16,
"d6": 16,
"d7": 18
}
},
{
"distance": 15,
"cost_per_day": {
"d1": 14,
"d2": 19,
"d3": 12,
"d4": 18,
"d5": 10,
"d6": 12,
"d7": 11
}
}
]
},
"range": {
"everywhere": false,
"has_max_range": false,
"max_range": 11
}
}
},
"time": {
"open": {
"hours": {
"d1": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d2": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d3": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d4": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d5": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d6": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d7": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
]
}
},
"takeout": {
"use_intervals": true,
"hours": {
"d1": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d2": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d3": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d4": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d5": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d6": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d7": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
]
},
"upfront": {
"d1": {
"method": "x_days",
"x_days": {
"days": 19,
"close_at": "12:00"
},
"x_time": {
"hours": 17,
"minutes": 14
}
},
"d2": {
"method": "x_days",
"x_days": {
"days": 13,
"close_at": "12:00"
},
"x_time": {
"hours": 12,
"minutes": 11
}
},
"d3": {
"method": "x_days",
"x_days": {
"days": 14,
"close_at": "12:00"
},
"x_time": {
"hours": 10,
"minutes": 14
}
},
"d4": {
"method": "x_days",
"x_days": {
"days": 18,
"close_at": "12:00"
},
"x_time": {
"hours": 19,
"minutes": 17
}
},
"d5": {
"method": "x_days",
"x_days": {
"days": 11,
"close_at": "12:00"
},
"x_time": {
"hours": 17,
"minutes": 16
}
},
"d6": {
"method": "x_days",
"x_days": {
"days": 12,
"close_at": "12:00"
},
"x_time": {
"hours": 19,
"minutes": 18
}
},
"d7": {
"method": "x_days",
"x_days": {
"days": 12,
"close_at": "12:00"
},
"x_time": {
"hours": 16,
"minutes": 19
}
}
}
},
"delivery": {
"use_intervals": false,
"hours": {
"d1": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d2": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d3": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d4": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d5": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d6": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
],
"d7": [
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
},
{
"start": "12:00",
"end": "12:00"
}
]
},
"upfront": {
"d1": {
"method": "x_days",
"x_days": {
"days": 16,
"close_at": "12:00"
},
"x_time": {
"hours": 15,
"minutes": 13
}
},
"d2": {
"method": "x_days",
"x_days": {
"days": 17,
"close_at": "12:00"
},
"x_time": {
"hours": 16,
"minutes": 17
}
},
"d3": {
"method": "x_days",
"x_days": {
"days": 12,
"close_at": "12:00"
},
"x_time": {
"hours": 12,
"minutes": 19
}
},
"d4": {
"method": "x_days",
"x_days": {
"days": 13,
"close_at": "12:00"
},
"x_time": {
"hours": 15,
"minutes": 14
}
},
"d5": {
"method": "x_days",
"x_days": {
"days": 13,
"close_at": "12:00"
},
"x_time": {
"hours": 10,
"minutes": 15
}
},
"d6": {
"method": "x_days",
"x_days": {
"days": 16,
"close_at": "12:00"
},
"x_time": {
"hours": 11,
"minutes": 13
}
},
"d7": {
"method": "x_days",
"x_days": {
"days": 17,
"close_at": "12:00"
},
"x_time": {
"hours": 14,
"minutes": 16
}
}
}
},
"timezone": "Europe/Brussels"
},
"discount": {
"general": 19,
"first_order": 15
},
"latches": {
"enable": false
},
"modules": {
"joyn": {
"enable": true,
"partner_reference": "..."
},
"paynl": {
"service_id": "...",
"merchant_id": "..."
},
"payconiq": {
"enable": false,
"merchant_id": "...",
"api_key": "...",
"api_secret": "..."
},
"paypal": {
"enable": true,
"client_id": "...",
"api_secret": "..."
},
"payu": {
"enable": true,
"provider": "",
"romania": {
"merchant_code": "...",
"secret_key": "..."
},
"brazil": {
"api_login": "...",
"api_key": "...",
"account_id": "...",
"merchant_id": "..."
},
"single_platform": {
"pos_id": "...",
"second_key": "...",
"secret_key": "..."
},
"iyzico": {
"api_key": "...",
"secret_key": "..."
}
},
"monizze": {
"enable": true,
"merchant_id": "...",
"in_key": "...",
"out_key": "..."
},
"edenred": {
"enable": true,
"merchant_id": "..."
},
"qguard": {
"enable": true,
"contract_id": "..."
},
"viresmo": {
"enable": false,
"api_key": "...",
"organisation_id": "..."
},
"innovend": {
"enable": false
},
"mannamatic": {
"enable": false
}
},
"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
}
],
"file_id": 16,
"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
}
],
"file_id": 16,
"white_background": true
},
"url": "...",
"placeholder": {
"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
}
],
"file_id": 17,
"white_background": true
},
"photos": [
{
"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
}
],
"file_id": 17,
"white_background": true
},
{
"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
}
],
"file_id": 12,
"white_background": false
},
{
"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
}
],
"file_id": 14,
"white_background": true
}
]
}