停止同步到通路
unpublish_listing停止把這件商品同步到通路,通路上的商品會被下架但不會刪除。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"manage_url": "<manage_url>",
"channel": "<channel>"
},
"name": "unpublish_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | 帳號金鑰。Authorization 標頭無法設定時才用這個參數。 | |
| channel | Yes | 通路代號。ruten 是露天市集(二手、全新都能賣);coupang 是酷澎(只收全新商品)。 | |
| manage_url | Yes | 商品的管理連結(上架或 list_my_listings 回傳的 manage_url),也可以直接給商品 id。 |