Skip to content

poLines

Procurement module · 5 operations

List PO line rows

GET/po-lines

A purchase order line. Returns a cursor page of PO line rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create a PO line

POST/po-lines

A purchase order line. Creates a PO line. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get a PO line

GET/po-lines/{id}

A purchase order line. Returns one PO line with its `ETag`. A PO line the caller may not see returns 404.

Update a PO line

PATCH/po-lines/{id}

A purchase order line. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.

Delete a PO line

DELETE/po-lines/{id}

A purchase order line. Soft-deletes the PO line: it moves to Trash and can be restored for its table's retention period.