Unblocking stores
Request
POST
/unblock
Headers
|
Name |
Description |
|
Authorization* |
Type: string Token generated by Yango Deli. |
|
Partner-Name* |
Type: string Partner’s name. |
Body
application/json
{
"vendorInfo": [
{
"vendorId": "819711",
"deliveryType": "ddc"
}
],
"blockIds": [
"string"
]
}
|
Name |
Description |
|
blockIds* |
Type: string[] List of block IDs. Min items: |
|
vendorInfo* |
Type: VendorInfoItems[] |
VendorInfoItems
|
Name |
Description |
|
vendorId* |
Type: string ID of the store in the Partner’s system. Example: |
|
deliveryType |
Type: string Delivery type. Example: Enum: |
Responses
200 OK
OK
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 |
404 Not Found
Store 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 |
500 Internal Server Error
Service 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.