Edit a draft purchase order
inventoryplanner_update_draft_purchase_orderWRITE: change the reference, expected date or notes of a purchase order that is still a draft (PATCH /api/v1/purchase-orders/{id}). The order is read first and refused unless its status is "draft". It never changes the status, sends the order, or touches line items or received quantities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| reference | No | ||
| expected_date | No | Expected delivery date, e.g. 2026-11-15 or 2026-11-15T10:00:00+01:00. | |
| purchase_order_id | Yes | Inventory Planner id. |