Close short
o2c_close_shortCancel the open remainder of a partially fulfilled order. This is how backorders die honestly: the customer is no longer owed the difference, committed credit exposure is released, and the reason is kept. Pass line ids to close only some lines; omit to close every open remainder. The fulfilled part stays exactly as it is. Effects: open quantities reduced to shipped; committed exposure released; order may derive closed.
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": {
"order_id": "<order_id>",
"reason": "<reason>"
},
"name": "o2c_close_short"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Only these lines. Omit to close all open remainders. | |
| reason | Yes | Why the remainder is being abandoned. | |
| order_id | Yes | The order. An existing order id. |