變更商品狀態
listing_actionsold:已賣出(在別處賣掉時也要呼叫)。confirm:確認還在賣並延長 14 天。withdraw:下架。sold 與 withdraw 會取消進行中的鎖定。
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>",
"action": "<action>"
},
"name": "listing_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| api_key | No | 帳號金鑰。Authorization 標頭無法設定時才用這個參數。 | |
| manage_url | Yes | 商品的管理連結(上架或 list_my_listings 回傳的 manage_url),也可以直接給商品 id。 |