List purchase orders
Changed onEndpoint for retrieving a list of purchase orders.
Request
- Base URLhttps://api.wafeq.com/v1
- URLhttps://api.wafeq.com/v1/purchase-orders/
- AuthAPI key in header Authorization
Query parameters
The unique identifier of the branch.
The unique identifier of the contact.
The timestamp in UTC when the purchase order was created.
The timestamp in UTC when the purchase order was created.
Comma-separated related objects to return in full instead of as IDs. Accepted values: attachments, branch, contact, contact.persons, line_items, line_items.account, line_items.cost_center, line_items.item, line_items.tax_rate, project. Nested relations are joined with a dot.
External identifier.
The timestamp in UTC when the purchase order was last modified.
The timestamp in UTC when the purchase order was last modified.
A page number within the paginated result set.
Number of results to return per page.
The unique identifier of the project.
The date of the purchase order.
Reference.
The status of the purchase order.
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Changes
- breaking
the
//response's property type changed fromstringto no type for status - info
added the new optional
queryrequest parameterexpand - info
added to the
//response propertyallOflist for the response status - info
removed the
arenum value from the//response property for the response status - info
removed the
enenum value from the//response property for the response status
- breaking