Purchase Orders
Search Purchase Orders
Search purchase orders for an institution.
The query field accepts a Postgres tsquery expression — see the PurchaseOrderSearchFilters docstring for syntax and examples. Malformed tsquery returns 400 with the Postgres syntax error.
All filters compose with AND: matching POs must satisfy every supplied filter (institution_ids, query, amount range, date range).
At least one of institution_ids or query must be supplied — unbounded scans of the 235M-row PO table are rejected.
post/api/internal/purchase-orders/search
Request
- Base URLhttps://api.nationgraph.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.