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.
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. |