cURL
curl --request GET \ --url https://api.parceltracer.com/v1/external/customers/{customer_pk}/locations/ \ --header 'X-Api-Key: <api-key>'
{ "count": 123, "next": "http://api.example.org/accounts/?page=4", "previous": "http://api.example.org/accounts/?page=2", "results": [ [ { "id": 9688, "area": { "id": 146, "name_ar": "عيناب", "name_en": "Ainab", "district": "Aley", "lat": "33.766414000000000", "long": "35.546311000000000" }, "directions": "" }, { "id": 9689, "area": { "id": 161, "name_ar": "بخشتاي", "name_en": "Bkhechtey", "district": "Aley", "lat": "33.799487000000000", "long": "35.615519000000000" }, "directions": "" } ] ] }
Retrieve all locations associated with the given customer.
A page number within the paginated result set.
Number of results to return per page.
123
Show child attributes
"http://api.example.org/accounts/?page=4"
"http://api.example.org/accounts/?page=2"