Purchase Orders

Get all purchase order items for a specific purchase order

GET
Get all purchase order items for a specific purchase order

Path parameters

purchase_order_idstringRequired

Query parameters

order-bystringOptional
offsetintegerOptional
limitintegerOptional
property_idstringOptional
integration_idstringOptional
integration_vendorenumOptional
The property management system of record

Response

This endpoint returns an object
meta
object
results
list of objects
GET
1curl https://api.propexo.com/v1/purchase-orders/purchase_order_id/items \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1{
2 "meta": {
3 "orderBy": [
4 {}
5 ],
6 "offset": 1,
7 "limit": 1,
8 "hasMore": true,
9 "total": 1
10 },
11 "results": [
12 {
13 "id": "id",
14 "created_at": "created_at",
15 "updated_at": "updated_at",
16 "x_id": "x_id",
17 "x_property_id": "x_property_id",
18 "purchase_order_id": "purchase_order_id",
19 "associated_invoice_ids": [
20 "associated_invoice_ids"
21 ],
22 "property_id": "property_id",
23 "integration_id": "integration_id",
24 "integration_vendor": "integration_vendor",
25 "last_seen": "last_seen",
26 "x_location_id": "x_location_id",
27 "description": "description",
28 "stock_code": "stock_code",
29 "quantity_ordered": "quantity_ordered",
30 "unit_price_in_cents": 1.1,
31 "total_cost_in_cents": 1.1,
32 "cost_code": "cost_code",
33 "category_code": "category_code",
34 "construction_job_id": "construction_job_id"
35 }
36 ]
37}