Create a draft purchase order
inventoryplanner_create_draft_purchase_orderWRITE: create a purchase order with status "draft" in Inventory Planner (POST /api/v1/purchase-orders). A draft is only a plan inside Inventory Planner: it is NOT sent to the vendor, NOT saved to any connected system and moves no stock or money. Purchase orders only (no transfers or assembly orders). Each line item is a variant id plus the quantity to order (replenishment).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| notes | No | ||
| vendor | Yes | The vendor name, as it appears in Inventory Planner. | |
| currency | No | ||
| reference | No | Your PO reference. | |
| warehouse | Yes | The destination warehouse, as it appears in Inventory Planner. | |
| expected_date | No | Expected delivery date, e.g. 2026-11-15 or 2026-11-15T10:00:00+01:00. |