Fields
id: number
Attributes: UniqueA unique identifier assigned to each location.
area: object<Area>
The Area the location belongs to. Embedded areas include every Area field except tags (id, name_ar, name_en, district, lat, long, maps_link, code, is_external, area_group).
When creating or updating a location, provide area as { "id": <area_id> } — only the id is used to resolve the area.
directions: string
Extra indications to help the driver find the location more easily.
Example
The list endpoint (
GET /customers/{id}/locations/) returns results wrapped in a pagination envelope: { "count", "next", "previous", "results": [ ... ] }.