Cancel order (purchasing)
p2p_cancel_poCancel an order nothing has arrived against and no bill points at. With a reason. Once anything has arrived, the order cannot be cancelled: close the rest short instead. The order stays on the record as cancelled. Effects: order cancelled.
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": {
"po_id": "<po_id>",
"reason": "<reason>"
},
"name": "p2p_cancel_po"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| po_id | Yes | The order. An existing p2p_po id. | |
| reason | Yes | Why it is cancelled. |