Skip to main content
Version: v1.0.0(int)

E121: Remove item from purchase order

DELETE /api/purchase-order-items/:id

Drops a PO line. Unknown ids return 404 not_found. Triggered from the Purchase Order Detail items section.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.

Request

No body.

Response — 200 OK

{ "deletedId": "uuid" }

Echo of the deleted item's id.

Errors

HTTPcodeCondition
409conflictA receipt exists against the PO — line items are locked.
404not_foundNo such item.

Workflow

Calls W121 Remove item from purchase order.