Fields
id: integer
Attributes: Unique
A unique identifier assigned to each area.
name_ar: string
Area’s name in Arabic.
name_en: string
Area’s name in English.
district: enum
Region of the customer’s location (currently refers to Lebanese districts strictly).
Possible values: Zahleh, Hasbaya, Baalbek, Jezzine, Baabda, Jbeil, Zgharta, Bint Jbeil, Hermel, Marjeyoun, Bsharri, Aley, Rashaya, Miniyeh-Danniyeh, Tripoli, Tyre, Nabatieh, Chouf, Maatn, Western Beqaa, Akkar, Sidon, Batroun, Keserwan, Koura, Beirut
code: string
Attributes: Read-only
A stable, human-readable area code (e.g. LBN0146).
lat: string | null
Latitude of the area centre, as a decimal string.
long: string | null
Longitude of the area centre, as a decimal string.
maps_link: string | null
A Google Maps link pointing at the area centre.
is_external: boolean
Whether this is an external area — an ad-hoc area created from raw coordinates (via POST /areas/create/) when no internal area matched. Internal areas returned by GET /areas/ always have is_external: false.
tags: array<object>
Attributes: Read-only
Organisation-scoped tags assigned to the area. Usually an empty array.
area_group: object | null
Attributes: Read-only
The group this area belongs to, or null. When present it has the shape { "id": integer, "name": string }.
Field availability depends on the endpoint:
GET /areas/returns a lean area object with onlyid,name_ar,name_en,district,code,lat,long.- Areas embedded inside a customer location (e.g. on an Order or Customer Location) include everything above except
tags. GET /resolve-address/returns the full area object includingtagsandarea_group.
Example
Lean object as returned byGET /areas/:
GET /resolve-address/):
