从目录中删除产品
Info
Console
方法适用于模式:FBY, FBS, Express 和 DBS.
如果您使用API-Key令牌,调用该方法时需要具备列表中可用权限之一
- offers-and-cards-management — 商品和卡片管理
- all-methods — 全面管理账户
从目录中删除产品。
| ⚙️ 限制: 每分钟10,000个产品,每个请求不超过200个产品 |
|---|
Request
POST
https://api.partner.market.yandex.ru/v2/businesses/{businessId}/offer-mappings/delete
Path parameters
|
Name |
Description |
|
businessId |
Type: integer 内阁ID。 要找到答案,请使用请求 GET v2/campaigns. Min value: |
Body
application/json
{
"offerIds": [
"example"
]
}
|
Name |
Description |
|
offerIds |
Type: string[] 名单 SKU 需要删除的产品。 Min items: Max items: Unique items: Example
|
Responses
200 OK
如果未删除所有产品,则200响应将返回请求中但仍保留在商店中的产品的列表。
Body
application/json
{
"status": "OK"
}
Type: object
500 Internal Server Error
Yandex中的内部错误。 市场。 有关错误的更多信息
Body
application/json
{
"status": "OK"
}
Type: object
No longer supported, please use an alternative and newer version.