Changing current workload

Request

PUT

/partner-integration/v1/place-info/v1/workload

Headers

Name

Description

Authorization*

Type: string

Token received in response to the /security/oauth/token request

Body

application/json
{
    "workloads": [
        {
            "origin_id": "string",
            "workload_min": 0
        }
    ]
}

Name

Description

workloads*

Type: PutWorkloadBodyV1Items[]

PutWorkloadBodyV1Items

Name

Description

origin_id*

Type: string

Store ID in the Partner’s system.

workload_min*

Type: integer

Current queue/workload value for the store, in minutes

Responses

200 OK

OK

Body

application/json
{}

400 Bad Request

Client-side error.

Body

application/json
[
    {
        "code": 400,
        "description": "Description of error"
    }
]

ErrorItem[]

ErrorItem

Name

Description

code*

Type: integer

Numeric error code agreed with Yango Deli.

Example: 400

description*

Type: string

Error description

Example: Description of error

500 Internal Server Error

Server-side error.

Body

application/json
[
    {
        "code": 400,
        "description": "Description of error"
    }
]

ErrorItem[]

No longer supported, please use an alternative and newer version.