receive_purchase_order
Adds received item quantities to a purchase order's receiveLines via PUT, supporting specific items, receive-all, serial numbers, locations, and over-receive.
Instructions
[LEGACY IMMEDIATE WRITE — HIGH RISK: BYPASSES INFLOW_ENABLE_SAFE_WRITES] Use set_purchase_order_receipts instead. Receive items on a purchase order by adding entries to the PO's receiveLines[] array via PUT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Specific items to receive (creates new receive line entries) | |
| locationId | No | Warehouse location ID for received items | |
| receiveAll | No | Receive all remaining quantity on every line | |
| receiveDate | No | Receive date (ISO 8601, defaults to now) | |
| purchaseOrderId | Yes | The purchase order ID | |
| allowOverReceive | No | Allow receiving more than ordered quantity |