Post Searchproduct Terminatelisting2
hgr_post_searchproduct_terminatelisting2Dedicated HGRApi tool for POST api/SearchProduct/TerminateListing2. This is an explicit tool with a fixed endpoint; it is not a generic endpoint caller. HGRApi functional documentation: Purpose: Provides the POST terminate listing2 operation in existing published product/listing management. Use when: Use it when a client needs to run the terminate listing2 operation for existing published product/listing management. Input: [FromBody] item: TerminateItemRequest. Main fields: Id: int. Header channel: current ChannelOAuthId. Output: Ends the listing in the store. Marks it terminated in HGR and returns success=true only when the store confirms the end or reports that the item was already ended. When the store refuses the end, returns success=false and the listing stays active in HGR. Search terms: terminatelisting 2, searchproduct terminatelisting 2. Send the exact request payload in body. Requires confirmed=true and impactConfirmed=true before execution. Requires HGRApi Header channel / ChannelOAuthId resolved internally.
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": {
"body": "<body>",
"confirmed": "<confirmed>",
"impactConfirmed": "<impactConfirmed>",
"channelOAuthId": "<channelOAuthId>"
},
"name": "hgr_post_searchproduct_terminatelisting2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | HGRApi POST /api/SearchProduct/TerminateListing2 request body. | |
| confirmed | Yes | Must be true after the user explicitly requested or confirmed the exact action. | |
| channelOAuthId | Yes | ChannelOAuthId returned by hgr_list_channels for the selected visible store. | |
| impactConfirmed | Yes | Must be true after the user explicitly confirmed the concrete high-impact consequences. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||