Post Channellisting Monitorexistinglisting2
hgr_post_channellisting_monitorexistinglisting2Dedicated HGRApi tool for POST api/ChannelListing/MonitorExistingListing2. This is an explicit tool with a fixed endpoint; it is not a generic endpoint caller. HGRApi functional documentation: Purpose: Imports existing store products into HGR with live progress over one HTTP stream. Imported products are activated; no new marketplace adverts are published. ownerAgent: publication. Use when: Use when exact existing store product ids and supplier URLs are selected and the caller can keep an SSE response open. Send the entire selection in one request. Do not use for catalog discovery or new marketplace publication. Input: Authenticated, not admin-only. Body: AddListingModel with Listings containing Id, SourceURL and optional VariationSku, VariationAttributes, SourceVariation, SourceWarehouse, Markup and Title. Optional PricingMode: 0 (default) applies normal markup; 1 preserves the store sale price until usable supplier cost is available, then calculates and saves individual markup once. While waiting, supplier out-of-stock sets quantity to zero without changing the sale price. Reactivated terminated products use the same selected mode. Selecting default markup clears an unresolved store-price initialization from an earlier attempt. Unknown modes are rejected. Requires Header channel: authorized ChannelOAuthId; the body OAuthId does not override it. ToRelist is ignored. UserDevice is optional web telemetry; AI and MCP must omit it. Output: SSE progress events contain phase, total, processed, imported, alreadyExisting, rejected, failed and optional itemId, error, pages, totalPages and cachedProducts. The terminal completed event contains inserted, wereInYourHGR, repeated, emptyUrl, notValidUrl, failed (id, variationSku, error), total, processed, ok and error. Inspect ok, failed and processed/total; a terminal event alone does not mean all products were imported. An unexpected stream failure emits error. Search terms: monitorexistinglisting 2, channellisting monitorexistinglisting 2. Send the exact request payload in body. Requires confirmed=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>",
"channelOAuthId": "<channelOAuthId>"
},
"name": "hgr_post_channellisting_monitorexistinglisting2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | HGRApi POST /api/ChannelListing/MonitorExistingListing2 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||