Skip to content

Approve releasing holds on a purchase order (signed-in ADMIN or higher)

POST
/purchase-orders/{poId}/approve-release
curl --request POST \
--url https://api.invogi.com/v1/purchase-orders/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/approve-release \
--header 'Authorization: Bearer <token>'

When someone below Admin corrects an invoice or confirms a duplicate in a way that would clear holds on other invoices of the order, those holds wait for this approval, and imports don’t clear them meanwhile. API keys can’t approve.

poId
required
string format: uuid
X-Invogi-Organization
string format: uuid

For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.

Approved, and the order’s invoices are being re-checked.

Media typeapplication/json
object
id
required
string format: uuid
po_number
required
string

Example generated

{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"po_number": "example"
}

Not an Admin or Owner

No such purchase order.

Nothing on this order is waiting for approval.