Get a list of statuses for a company

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

Get a list of statuses 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/status-list HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.8.0
Accept-Language: en-US,en;q=0.5

Response

A dictionary with fields

Field Type Description
order_statuses [String] Array of String
order_preparation_statuses [String] Array of String

Example response 1

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 258

{
    "order_statuses": [
        "PENDING",
        "HAS_READ",
        "APPROVED",
        "DECLINED",
        "REMOVED",
        "DELETED_BY_SHOP",
        "COLLECTED"
    ],
    "order_preparation_statuses": [
        "PREPARING",
        "READY"
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.8.0 stable