Разблокировка магазинов

Метод позволяет Партнёру отправлять Яндекс Еде запрос на разблокировку магазина.

Request

POST

/unblock

Headers

Name

Description

Authorization

Type: string

Токен, сформированный на стороне Яндекс Еды.

Example: ``

Partner-Name

Type: string

Имя Партнёра.

Example: ``

Body

application/json
{
  "vendorInfo": [
    {
      "vendorId": "819711",
      "deliveryType": "ddc"
    }
  ],
  "blockIds": [
    "example"
  ]
}

Name

Description

blockIds

Type: string[]

Список id блокировок.

Min items: 1

Example
[
  "example"
]

vendorInfo

Type: VendorInfo

Example
[
  {
    "vendorId": "819711",
    "deliveryType": "ddc"
  }
]

VendorInfoItems

Name

Description

vendorId

Type: string

Id магазина в системе Партнёра.

Example: 819711

deliveryType

Type: string

Тип доставки.

Enum: ddc, marketplace

Example
{
  "vendorId": "819711",
  "deliveryType": "ddc"
}

VendorInfo

Type: VendorInfoItems[]

Example
[
  {
    "vendorId": "819711",
    "deliveryType": "ddc"
  }
]

Responses

200 OK

OK

Body

application/json
{}

Name

Description

400 Bad Request

Ошибка в запросе.

Body

application/json
{
  "message": "example",
  "code": 0,
  "details": {}
}

Name

Description

code

Type: integer

Код ошибки.

message

Type: string

Сообщение об ошибке.

Example: example

details

Type: object
Example
{}

404 Not Found

Магазин не найден.

Body

application/json
{
  "message": "example",
  "code": 0,
  "details": {}
}

Name

Description

code

Type: integer

Код ошибки.

message

Type: string

Сообщение об ошибке.

Example: example

details

Type: object
Example
{}

500 Internal Server Error

Ошибка сервиса.

Body

application/json
{
  "message": "example",
  "code": 0,
  "details": {}
}

Name

Description

code

Type: integer

Код ошибки.

message

Type: string

Сообщение об ошибке.

Example: example

details

Type: object
Example
{}

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