Get the list of all your package. You can also filter by its status.
GET /v1/packages?status=draft,request_pickup&offset=1&limit=30
JSON Response
{
"data": [
{
"fee": 0.5,
"value": 37,
"cash": 37,
"cash_collected": 0,
"status": "DRAFT",
"sender": {
"address_name": "Street 608 , Boeng Kak Ti Pir",
"lat": 11.07445532,
"lng": 104.9028651997,
"phone_number": "+85592xxxxx"
},
"receiver": {
"address_name": "Gold Tower 42, Phnom Penh",
"lat": 11.0555341,
"lng": 104.0209594,
"phone_number": "01695xxxxx"
},
"instruction": ""
},
...
]
}
Fields | Description |
---|---|
status | Status of Package |
offset | Offset |
limit | Limit |