PO Lines
Add lines to purchase order
Appends lines to a DRAFT purchase order. Returns the created lines with HTTP 201.
POST
string
required
API key with
inventory:write scope.string
required
Vendor UUID.
string
required
Purchase order UUID. Must be in
DRAFT status.string
required
Must be
add-lines.object[]
required
Lines to add (at least 1). Same fields as on order creation:
item_id / external_item_id / supplier_sku, qty, qty_base, base_unit_id, item_unit_id, unit_code, unit_label, unit_cost, tax_amount, delivery_amount, total_amount, markup_amount, notes, metadata. qty_base is optional when the line references unit_code or item_unit_id — the server derives it from the unit’s factor_to_base.boolean
When
true, every line item must exist in the supplier’s catalog.object[]
The created lines with full detail.

