Post Sales Processorderline
hgr_post_sales_processorderlineDedicated HGRApi tool for POST api/Sales/ProcessOrderLine. This is an explicit tool with a fixed endpoint; it is not a generic endpoint caller. HGRApi functional documentation: Purpose: Starts automatic supplier purchase processing for exact existing order lines using the current saved auto-ordering settings. ownerAgent: orders-autoordering. Use when: Use it when the user explicitly wants to process or retry an existing order after correcting a payment card or another auto-ordering setting. Input: [FromBody] rq: LoadAddressesFromOrderLineRequest. Main fields: OrderLineIds: int[]. Required Header channel: current ChannelOAuthId. Output: Attempts normal processing for each supplied order line and returns refreshed order data on success or the processing error result. Search terms: sales processorderline. 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_sales_processorderline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | HGRApi POST /api/Sales/ProcessOrderLine 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 | |||