Remove order item
remove_order_itemRemove a line item from an order. Recomputes the order total. Only allowed while the order is pending or confirmed; otherwise it fails with 409 CONFLICT "Order lines can only be changed while the order is pending or confirmed". Use get_order to find the order's externalId and the item's itemId. The result echoes the operating workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The order item id returned by get_order. | |
| externalId | Yes | The order externalId returned by list_orders or create_order. |