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.7.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": 12,
"name": "...",
"internal_name": "...",
"url": "...",
"active": false,
"allow_order_messages": true,
"invoice_generation": false
},
{
"id": 13,
"name": "...",
"internal_name": "...",
"url": "...",
"active": false,
"allow_order_messages": true,
"invoice_generation": true
},
{
"id": 17,
"name": "...",
"internal_name": "...",
"url": "...",
"active": false,
"allow_order_messages": true,
"invoice_generation": true
}
]