Opening the robot courier’s hatch
Request
POST
/partner-integration/v1/orders/v1/open-robot-hatch
Headers
|
Name |
Description |
|
Authorization* |
Type: string Token generated by Yango Deli. |
|
Partner-Name* |
Type: string Partner’s name. |
Body
application/json
{
"order_id": "03d3b69b-331c-4f84-b2c4-888b30320e63"
}
|
Name |
Description |
|
order_id* |
Type: string Order identifier in the Partner’s system. Free format. UUID4 is recommended. Example: |
Responses
200 OK
Hatch opened successfully.
Body
application/json
{}
400 Bad Request
Request error.
Body
application/json
{
"message": "string",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code* |
Type: integer Error code. |
|
message* |
Type: string Error message. |
|
details |
Type: object |
401 Unauthorized
Authorization error.
Body
application/json
{
"message": "string",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code* |
Type: integer Error code. |
|
message* |
Type: string Error message. |
|
details |
Type: object |
404 Not Found
Order not found.
Body
application/json
{
"message": "string",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code* |
Type: integer Error code. |
|
message* |
Type: string Error message. |
|
details |
Type: object |
429 Too Many Requests
Too many requests.
Body
application/json
Type: string
500 Internal Server Error
Server error.
Body
application/json
{
"message": "string",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code* |
Type: integer Error code. |
|
message* |
Type: string Error message. |
|
details |
Type: object |
No longer supported, please use an alternative and newer version.