Local Integration API
Discover local service areas and create EgyptLimo-priced local quotes and bookings.
The Local Integration channel uses /api/v1/local-integration, a Local-channel API client, bearer token, signed requests, and the same idempotency and sandbox rules as the Partner API. Do not send a Partner-channel token to these routes.
Discover areas and vehicles
GET /api/v1/local-integration/areas requires catalog:read and a signed request. It returns active areas with at least one active, positively priced vehicle option:
{
"items": [{
"id": "lar_<opaque-client-scoped-id>",
"name": "<area name>",
"city": null,
"governorate": null,
"vehicle_options": [{"code": "<vehicle code>", "name": "<vehicle name>", "passenger_capacity": 3}]
}]
}Use items[].id as local_service_area_id and one of that area's vehicle_options[].code as local_vehicle_code. The area ID is not a database integer and cannot be reused by another API client. Prices in the catalogue are deliberately omitted; the quote is the authoritative amount.
Quote, confirm, book
POST /api/v1/local-integration/quotes requires quotes:read:
{
"local_service_area_id": "lar_<opaque-id-from-areas>",
"local_vehicle_code": "<code-from-that-area>",
"pickup_location": {"address": "<pickup address>"},
"pickup_datetime": "<future ISO-8601 datetime>",
"passengers": 1,
"extras": [{"id": "tex_<opaque-id-from-extras>", "quantity": 1}]
}Retrieve with GET /quotes/{quote_id} and optionally confirm with POST /quotes/{quote_id}/confirm. Create a booking with POST /bookings using the returned quote_id and options[].vehicle_class, plus a unique partner_reference and passenger name/phone. Quote price comes from EgyptLimo; booking cannot override route, vehicle, extras, currency, or price. Non–Booking Link flows use consolidated invoice settlement. Sandbox bookings and refunds are simulations only.
Numeric local_service_area_id and numeric Extra IDs are rejected. A valid-looking opaque ID belonging to another client returns 422 invalid_catalog_id.