Purchase Order Shipments
Get Shipment
Retrieve detailed information for a single purchase order shipment. Includes purchase order, supplier, destination warehouse, all shipment lines (with products), receipts, and summary totals.
Update Shipment
Update an existing purchase order shipment's shipping method or tracking number.
Create Shipment
Create a new shipment for an open purchase order. If shipment_lines is omitted, creates a shipment for all remaining unshipped quantity.
Receive Shipment
Receive goods against a purchase order shipment. Creates a receipt record and triggers inventory movements.
Update Receipt
Update an existing shipment receipt. Adjusts inventory movements accordingly.
Delete Receipt
Delete an entire shipment receipt and reverse its inventory movements.
Delete Receipt Lines
Delete specific lines from a shipment receipt.
Preview Receipt Delete Impact
Read-only preview of the allocation-demotion impact of deleting this inbound shipment receipt. Because deleting it removes the stock it added, this behaves like a manual negative adjustment and returns one row per affected product: how much of the removed quantity is unallocated vs soft-allocated vs hard-allocated, plus every sales-order allocation and fulfillment (printed shipping label) the removal would disturb. Use it to decide which fulfillments to authorize voiding via `void_confirmations` on the deleting call. Nothing is mutated. A removal that only re-adds stock returns an empty `data` array.
Get Activity Log
Get paginated activity log for a purchase order shipment.
Get Notes
Get paginated notes for a purchase order shipment, ordered by newest first.
Add Note
Add a note to a purchase order shipment.
Delete Note
Delete a note from a purchase order shipment.