Reset the order numbers for specified shops

POST /company/companies/@id/reset-order-numbers

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
id Int The company ID that is owner of shops.

Body

Pass the following properties via application/json or form encoding in the body of the request.

Array of Dictionary: [Dictionary]

Dictionary

A dictionary with fields

Field Type Description
shop_id Int The ID of the shop

Example request 1

POST /company/companies/17/reset-order-numbers HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 107
[
    {
        "shop_id": 17
    },
    {
        "shop_id": 15
    },
    {
        "shop_id": 14
    }
]

Response

Example response 1

HTTP/1.1 200 OK
Version update available Please adjust your integration to the latest stable version (1.6.0)
1.5.0 stable