Get Purchase Orders

Allowed Scopes: experimental:purchase-order:read

Returns purchase orders. Purchase order data is cached for up to 2 hours. Changes made through the API are returned by subsequent reads; changes made in Spendesk can take up to 2 hours to appear.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
≥ 1
Defaults to 1

Page number

integer
1 to 30
Defaults to 30

Page size

boolean

Whether to include line items in the response

string | array

Filter by supplier IDs

string | array

Filter by purchase order status

string | array

Filter by company IDs

string
^\d{4}-\d{2}-\d{2}$

Filter purchase orders created from this date (YYYY-MM-DD)

string
^\d{4}-\d{2}-\d{2}$

Filter purchase orders created until this date (YYYY-MM-DD)

string
^\d{4}-\d{2}-\d{2}$

Filter purchase orders with start date from this date (YYYY-MM-DD)

string
^\d{4}-\d{2}-\d{2}$

Filter purchase orders with start date until this date (YYYY-MM-DD)

string
^\d{4}-\d{2}-\d{2}$

Filter purchase orders with end date from this date (YYYY-MM-DD)

string
^\d{4}-\d{2}-\d{2}$

Filter purchase orders with end date until this date (YYYY-MM-DD)

Headers
string

ID of the company the request acts on. Required with an organisation-level token; not needed with a company-level token.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json