List purchase orders
The List purchase orders endpoint returns a list of purchase orders for a given company's connection.
Purchase orders represent a business's intent to purchase goods or services from a supplier.
Before using this endpoint, you must have retrieved data for the company.
Query parameters
Page number. Read more.
Number of records to return in a page. Read more.
Codat query string. Read more.
Field to order results by. Read more.
Response
Success
Example response
{
"pageNumber": 1,
"pageSize": 10,
"totalResults": 1,
"_links": {
"self": {
"href": "/companies/{id}/data/{dataType}"
},
"current": {
"href": "/companies/{id}/data/{dataType}?page=1&pageSize=10"
}
}
}Changes
Changed in 2 of the 51 revisions of this API.10
- ○
added the optional property
allOf[subschema #1]/results/items/allOf[subschema #1]/createdByto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
validationto the response with the400statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the401statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the402statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the403statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the404statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the409statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the429statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the500statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the503statusresponse-optional-property-added
- ○