Unblocking stores
Request
POST
/unblock
Headers
|
Name |
Description |
|
Authorization |
Type: string Token generated by Yango Deli. Example: `` |
|
Partner-Name |
Type: string Partner’s name. Example: `` |
Body
application/json
{
"vendorInfo": [
{
"vendorId": "819711",
"deliveryType": "ddc"
}
],
"blockIds": [
"example"
]
}
|
Name |
Description |
|
blockIds |
Type: string[] List of block IDs. Min items: Example
|
|
vendorInfo |
Type: VendorInfo Example
|
VendorInfoItems
|
Name |
Description |
|
vendorId |
Type: string ID of the store in the Partner’s system. Example: |
|
deliveryType |
Type: string Delivery type. Enum: |
Example
{
"vendorId": "819711",
"deliveryType": "ddc"
}
Responses
200 OK
OK
Body
application/json
{}
|
Name |
Description |
400 Bad Request
Request error.
Body
application/json
{
"message": "example",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code |
Type: integer Error code. |
|
message |
Type: string Error message. Example: |
|
details |
Type: objectExample
|
404 Not Found
Store not found.
Body
application/json
{
"message": "example",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code |
Type: integer Error code. |
|
message |
Type: string Error message. Example: |
|
details |
Type: objectExample
|
500 Internal Server Error
Service error.
Body
application/json
{
"message": "example",
"code": 0,
"details": {}
}
|
Name |
Description |
|
code |
Type: integer Error code. |
|
message |
Type: string Error message. Example: |
|
details |
Type: objectExample
|
No longer supported, please use an alternative and newer version.