Returns a list of order approvals in the library.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Requires the Approve Orders permission, and the library must have the Order Approval module.
No status filter is applied by default. To fetch only the approvals still waiting for a decision, filter on status=pending.
One purchase order can have several order approvals. When a rejected order is edited and sent again, it gets a new order approval and the rejected one stays rejected, so the same order can appear on more than one row.
To find the order approval for an order that Send Purchase Order parked, filter on status=pending and on the outlet and supplier IDs of that order, then take the row whose purchase_order.id is the order's id. An order has at most one pending approval. Like every call in this section, this needs the Approve Orders permission, so it is for whoever will decide on the order.
403The library does not have the Ordering or the Order Approval module, the token lacks the procurement scope, or the user lacks the Approve Orders permission.
