Skip to main content
GET
/
customers
/
{customer_pk}
/
locations
/
{location_pk}
Retrieve customer location
curl --request GET \
  --url https://api.parceltracer.com/v1/external/customers/{customer_pk}/locations/{location_pk}/ \
  --header 'X-Api-Key: <api-key>'
{
  "id": 9691,
  "area": {
    "id": 146,
    "name_ar": "عيناب",
    "name_en": "Ainab",
    "district": "Aley",
    "lat": "33.766414000000000",
    "long": "35.546311000000000"
  },
  "directions": ""
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

customer_pk
integer
required
location_pk
integer
required

Response

Successful retrieval

id
integer
required
area
object
required

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

directions
string