Factuarea APIDevelopers

List purchase order activity

Return the cursor-paginated activity of a purchase order, newest first: its own events plus those of its goods receipts and of the supplier invoices linked to it, with the actor (person or API key) and the date. - metadata of each type follows the PurchaseOrderActivity schema and never carries internal ids; documents are named by public id and number, deleted invoices keep theirs. - limit 1 to 100 (default 25); starting_after takes the next_cursor of the previous page as is. - An order of another company answers like one that does not exist.

GET
/companies/{company}/purchase-orders/{purchase_order}/activities

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

company*string

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Formatuuid
purchase_order*string

Public identifier (UUID v7) of the purchase order.

Formatuuid

Query Parameters

limit?integer

Number of activity entries to return, newest first. Integer between 1 and 100. Defaults to 25.

Default25
Range1 <= value <= 100
starting_after?string

Opaque cursor: pass back the next_cursor of the previous page as is; it is not a UUID. One this list cannot read returns 400 parameter_invalid_cursor.

Lengthlength <= 512

Headers

Factuarea-Version?string

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json