List Purchase orders

Returns Purchase orders for the organization.

GEThttps://api.tracksales.co/api/v1/purchase-orders

Required scope: purchase_orders:read

Query Params

searchstring

Search by name, code, or reference

location_idinteger

Filter by branch/location ID

vendor_idinteger

Filter by vendor ID

statusstring

Filter by status: open, closed, or draft

limitinteger

Page size (default 20, max 100)

offsetinteger

Pagination offset (default 0)

Responses

200OK

Request succeeded.

401Unauthorized

API key is missing or invalid.

403Forbidden

API key lacks the required scope.

404Not Found

Purchase-orders was not found.

422Validation Error

Request validation failed.