GET /management/companies/@id/partials/shop-list
Get a list of shops for a company
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
GET /management/companies/@id/partials/shop-list HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.9.0
Accept-Language: en-US,en;q=0.5
Array of management.Shop: [management.Shop]
Field | Type | Description |
---|---|---|
id | Int | An integer value |
name | String | A String value |
internal_name | String? | Nullable. A String value |
url | String | A String value |
active | Bool | A boolean value |
allow_order_messages | Bool | A boolean value |
invoice_generation | Bool | A boolean value |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 621
[
{
"id": 16,
"name": "...",
"internal_name": "...",
"url": "...",
"active": false,
"allow_order_messages": false,
"invoice_generation": false
},
{
"id": 19,
"name": "...",
"internal_name": "...",
"url": "...",
"active": true,
"allow_order_messages": false,
"invoice_generation": true
},
{
"id": 18,
"name": "...",
"internal_name": "...",
"url": "...",
"active": true,
"allow_order_messages": true,
"invoice_generation": true
}
]