Get a list of shops for a company

GET /management/companies/@id/partials/shop-list

Get a list of shops for a company

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

Example request 1

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

Response

Array of management.Shop: [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

Example response 1

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
    }
]
1.9.0 stable