Purchasing Manager API · pos

A page of purchase orders from the current read model

GET /pos

A page of purchase orders from the current read model: q narrows by reference or supplier (case-insensitive substring), status to a comma-separated set of statuses, supplierId to the orders placed with one CRM company (GET /pos?supplierId=cmp_…, an exact match), ids to exactly those po_ ids (comma-separated, up to 200 — how a screen holding ids shows their numbers), sort/order pick the column and direction (default: newest first).

total counts every match regardless of the page; limit defaults to 100 and is capped at 1000 (an over-cap request is clamped, not honoured); page with offset.

Access

Requires purchasing:read or receiving:read.

Any one of these scopes is enough.

How scopes come from roles: Scopes and roles. Getting a token: Authentication and app tokens.

AI agent tool

Agents call this as purchasing_list_pos (Purchasing: List POs), in the purchasing toolset. It only reads.

Connecting an agent: AI agents.

Example

curl
curl -X GET 'https://purchasing.getmanifold.io/pos?status=authorised%2Cpartially-received&supplierId=cmp_01a15884-6399-7e5f-8a6b-1c2d3e4f5a6b&limit=50' \
  -H "Authorization: Bearer $MANIFOLD_TOKEN"
JavaScript (fetch)
const response = await fetch("https://purchasing.getmanifold.io/pos?status=authorised%2Cpartially-received&supplierId=cmp_01a15884-6399-7e5f-8a6b-1c2d3e4f5a6b&limit=50", {
  method: "GET",
  headers: { Authorization: `Bearer ${process.env.MANIFOLD_TOKEN}` },
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const answer = await response.json();
Response · 200 · application/json
{
  "items": [
    {
      "id": "po_01a15876-6c9e-7b3a-8c4d-9e0f1a2b3c4d",
      "number": "PO-00001",
      "serial": 1,
      "reference": "PO-WIDGET-BLUE",
      "supplier": "Northwind Components",
      "supplierId": "cmp_01a15884-6399-7e5f-8a6b-1c2d3e4f5a6b",
      "currency": "AUD",
      "status": "authorised",
      "lines": [
        {
          "sku": "WIDGET-BLUE",
          "ordered": 40,
          "received": 0,
          "cancelled": 0,
          "unitCostCents": 1250
        }
      ],
      "landedCosts": [],
      "payables": [],
      "payments": [],
      "revision": 0,
      "createdAt": "2026-09-22T01:15:00.000Z",
      "updatedAt": "2026-09-23T04:00:00.000Z",
      "expectedOn": "2026-10-01"
    }
  ],
  "total": 1,
  "limit": 50,
  "offset": 0
}

The panel writes this call in other languages. It does not send it: Manifold's APIs do not take calls from a web page on another site, so run the call from your own code or terminal. The whole API as OpenAPI: purchasing-manager.openapi.json. Base URL https://purchasing.getmanifold.io.

Errors

Every refusal is a status and a JSON body whose _tag names it. A refused call changes nothing.

401

RefusalWhat it meansWhat to do
Unauthorized reason The token is missing, expired or not one Manifold issued.Get a fresh token and send the call again.
TokenAlreadyUsed tokenId A single-use app token was already spent.Mint a new token for this call.

402

RefusalWhat it meansWhat to do
SubscriptionRequired status The organization's subscription has lapsed, so writes are refused.An owner settles billing. Reads still work meanwhile.

403

RefusalWhat it meansWhat to do
TenantRequired userId The token names no organization.Choose the organization, then get a new token.
ScopeRequired required The token's roles do not grant the scope this call needs.Ask an owner or admin for a role that grants it.

409

RefusalWhat it meansWhat to do
MirroredFromSource source This area is fed by your source system until the organization goes live.Make the change in the source system, or go live first.

503

RefusalWhat it meansWhat to do
RequestLogUnavailable tokenId, reason The service could not record the request, so it did nothing.Try again shortly.

How refusals work everywhere: Errors.