Download OpenAPI specification:
Get customers
| mobilePhone | string [ 8 .. 16 ] characters ^\+[1-9]\d{6,14}$ Example: mobilePhone=+1234567890 Filter by mobile phone number. Must be in E.164 format. Because mobile phone is a unique in our system by providing this filter, you can retrieve a specific customer (always one). |
| page | integer [ 0 .. 10000 ] Default: 0 Example: page=0 Page number (0-indexed) |
| size | integer [ 1 .. 100 ] Default: 25 Example: size=25 Number of items per page |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "mobilePhone": "+1234567890",
- "locale": "en"
}
], - "pagination": {
- "size": 25,
- "page": 0,
- "counts": 100,
- "totalPages": 4,
- "first": true,
- "last": false,
- "next": true
}
}Create customer
| firstName required | string [ 1 .. 50 ] characters ^[A-Za-z]+$ |
| lastName required | string [ 1 .. 50 ] characters ^[A-Za-z]+$ |
string <email> [ 5 .. 254 ] characters ^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2... | |
| mobilePhone required | string [ 8 .. 16 ] characters ^[\+]?[1-9]\d{6,14}$ Mobile phone in E.164 format |
| locale required | string [ 2 .. 5 ] characters ^[a-z]{2,5}(-[A-Z]{2,5})?$ IETF BCP 47 language tag (e.g., en, en-US) |
{- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "mobilePhone": "+1234567890",
- "locale": "en"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "mobilePhone": "+1234567890",
- "locale": "en"
}Get customer by ID
| customerId required | string <uuid> Customer ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com",
- "mobilePhone": "+1234567890",
- "locale": "en"
}Get bookings
| statusIn | Array of strings [ 1 .. 3 ] items unique Items Enum: "RESERVED" "DISPATCHED" "ACCEPTED" "CAB_ARRIVED_AT_PICKUP" "TRIP_STARTED" "TRIP_ONGOING" "CAB_ARRIVED_AT_INTERMEDIARY_WAYPOINT" "CAB_ARRIVED_AT_DROPOFF" "DROPPED_OFF" "TRIP_ENDED" "NO_SHOW" "CANCELLED" "COMPLETED" Filter bookings by status. Must include at least one status. |
| pickupTimeFrom | string <date-time> Example: pickupTimeFrom=2020-01-01T10:00:00Z Filter bookings from pickup time (ISO 8601 format). This parameter have to be used with pickupTimeTo. |
| pickupTimeTo | string <date-time> Example: pickupTimeTo=2020-01-01T12:00:00Z Filter bookings until pickup time (ISO 8601 format). This parameter have to be used with pickupTimeFrom. |
| driverIds | Array of integers Filter by a list of driver IDs |
| shiftId | integer Filter by shift ID |
| page | integer [ 0 .. 10000 ] Default: 0 Example: page=0 Page number (0-indexed) |
| size | integer [ 1 .. 100 ] Default: 25 Example: size=25 Number of items per page |
{- "results": [
- {
- "id": 7,
- "customerId": "123e4567-e89b-12d3-a456-426655440000",
- "b2bAccount": {
- "id": "123e4567-e89b-12d3-a456-426655440000",
- "name": "string"
}, - "status": "ACCEPTED",
- "pickupTime": "2020-01-01T12:00:00Z",
- "asap": true,
- "quotationId": 1,
- "vehicleType": {
- "code": "cab"
}, - "tripWaypoints": [
- {
- "orderNumber": 1,
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta"
}, - "type": "PICKUP",
- "passengers": [
- {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}
], - "lastStop": true,
- "completed": true
}, - {
- "orderNumber": 1,
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta"
}, - "type": "PICKUP",
- "passengers": [
- {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}
], - "lastStop": true,
- "completed": true
}
], - "passenger": {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}, - "distance": 1.71,
- "price": {
- "manual": {
- "amount": {
- "amount": 100,
- "currency": "EUR"
}, - "reason": "Agreed with customer"
}, - "upfrontPriceModel": "FIXED_PRICE",
- "priceRange": {
- "min": {
- "amount": 100,
- "currency": "EUR"
}, - "max": {
- "amount": 100,
- "currency": "EUR"
}
}, - "gross": {
- "amount": 100,
- "currency": "EUR"
}, - "discount": {
- "amount": 100,
- "currency": "EUR"
}, - "markup": {
- "amount": 100,
- "currency": "EUR"
}, - "fees": {
- "waitTime": {
- "time": 120,
- "amount": {
- "amount": 100,
- "currency": "EUR"
}
}, - "cancellation": {
- "amount": {
- "amount": 100,
- "currency": "EUR"
}
}
}
}, - "payment": {
- "paymentType": "ON_ACCOUNT",
- "status": "NOT_SETTLED",
- "channel": "IN_VEHICLE"
}, - "trackingLinkExpiresAt": "2026-08-06T15:00:00Z"
}
], - "pagination": {
- "size": 25,
- "page": 0,
- "counts": 100,
- "totalPages": 4,
- "first": true,
- "last": false,
- "next": true
}
}Create booking
| customerId required | string <uuid> Customer ID UUID |
object (B2BAccount) | |
| pickupTime | string <date-time> Scheduled pickup time - REQUIRED if asap is false |
| asap | boolean Is this an ASAP booking |
| quotationId | integer >= 1 Associated quotation ID |
required | object (VehicleTypeMinimal) |
required | Array of objects (TripWaypoint) [ 2 .. 10 ] items Trip waypoints (minimum 2 pickup and dropoff) |
object (PassengerData) | |
object | |
required | object |
{- "customerId": "123e4567-e89b-12d3-a456-426655440000",
- "b2bAccount": {
- "id": "123e4567-e89b-12d3-a456-426655440000",
- "name": "string"
}, - "pickupTime": "2020-01-01T12:00:00Z",
- "asap": true,
- "quotationId": 1,
- "vehicleType": {
- "code": "cab"
}, - "tripWaypoints": [
- {
- "orderNumber": 1,
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta"
}, - "type": "PICKUP",
- "passengers": [
- {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}
], - "lastStop": true
}, - {
- "orderNumber": 1,
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta"
}, - "type": "PICKUP",
- "passengers": [
- {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}
], - "lastStop": true
}
], - "passenger": {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}, - "price": {
- "manual": {
- "amount": {
- "amount": 100,
- "currency": "EUR"
}, - "reason": "Agreed with customer"
}, - "gross": {
- "amount": 100,
- "currency": "EUR"
}, - "discount": {
- "amount": 100,
- "currency": "EUR"
}, - "markup": {
- "amount": 100,
- "currency": "EUR"
}, - "fees": {
- "waitTime": {
- "time": 120,
- "amount": {
- "amount": 100,
- "currency": "EUR"
}
}, - "cancellation": {
- "amount": {
- "amount": 100,
- "currency": "EUR"
}
}
}
}, - "payment": {
- "paymentType": "ON_ACCOUNT",
- "status": "NOT_SETTLED",
- "channel": "IN_VEHICLE"
}
}{- "id": 7,
- "customerId": "123e4567-e89b-12d3-a456-426655440000",
- "b2bAccount": {
- "id": "123e4567-e89b-12d3-a456-426655440000",
- "name": "string"
}, - "status": "ACCEPTED",
- "pickupTime": "2020-01-01T12:00:00Z",
- "asap": true,
- "quotationId": 1,
- "vehicleType": {
- "code": "cab"
}, - "tripWaypoints": [
- {
- "orderNumber": 1,
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta"
}, - "type": "PICKUP",
- "passengers": [
- {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}
], - "lastStop": true,
- "completed": true
}, - {
- "orderNumber": 1,
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta"
}, - "type": "PICKUP",
- "passengers": [
- {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}
], - "lastStop": true,
- "completed": true
}
], - "passenger": {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}, - "distance": 1.71,
- "price": {
- "manual": {
- "amount": {
- "amount": 100,
- "currency": "EUR"
}, - "reason": "Agreed with customer"
}, - "upfrontPriceModel": "FIXED_PRICE",
- "priceRange": {
- "min": {
- "amount": 100,
- "currency": "EUR"
}, - "max": {
- "amount": 100,
- "currency": "EUR"
}
}, - "gross": {
- "amount": 100,
- "currency": "EUR"
}, - "discount": {
- "amount": 100,
- "currency": "EUR"
}, - "markup": {
- "amount": 100,
- "currency": "EUR"
}, - "fees": {
- "waitTime": {
- "time": 120,
- "amount": {
- "amount": 100,
- "currency": "EUR"
}
}, - "cancellation": {
- "amount": {
- "amount": 100,
- "currency": "EUR"
}
}
}
}, - "payment": {
- "paymentType": "ON_ACCOUNT",
- "status": "NOT_SETTLED",
- "channel": "IN_VEHICLE"
}, - "trackingLinkExpiresAt": "2026-08-06T15:00:00Z"
}Get booking by ID. Optionally include the existing Ride Data Sharing tracking link via the includeTrackingLink query parameter. Requesting the link does not create a sharing session.
| bookingId required | integer Booking ID |
| includeTrackingLink | boolean Default: false Example: includeTrackingLink=true When true, the response additionally includes the existing Ride Data Sharing tracking link (trackingLink) and its expiry (trackingLinkExpiresAt) for the booking, if an active sharing session exists. Requesting the link is read-only: it never creates, regenerates or extends a sharing session. The session is generated asynchronously after booking acceptance, so the fields may be null while it is not yet available, once it has expired, or if Ride Data Sharing is temporarily unavailable. When absent or false the endpoint's behaviour is unchanged and Ride Data Sharing is not called. |
{- "id": 7,
- "customerId": "123e4567-e89b-12d3-a456-426655440000",
- "b2bAccount": {
- "id": "123e4567-e89b-12d3-a456-426655440000",
- "name": "string"
}, - "status": "ACCEPTED",
- "pickupTime": "2020-01-01T12:00:00Z",
- "asap": true,
- "quotationId": 1,
- "vehicleType": {
- "code": "cab"
}, - "tripWaypoints": [
- {
- "orderNumber": 1,
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta"
}, - "type": "PICKUP",
- "passengers": [
- {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}
], - "lastStop": true,
- "completed": true
}, - {
- "orderNumber": 1,
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta"
}, - "type": "PICKUP",
- "passengers": [
- {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}
], - "lastStop": true,
- "completed": true
}
], - "passenger": {
- "firstName": "John",
- "lastName": "Doe",
- "mobilePhone": "+1234567890"
}, - "distance": 1.71,
- "price": {
- "manual": {
- "amount": {
- "amount": 100,
- "currency": "EUR"
}, - "reason": "Agreed with customer"
}, - "upfrontPriceModel": "FIXED_PRICE",
- "priceRange": {
- "min": {
- "amount": 100,
- "currency": "EUR"
}, - "max": {
- "amount": 100,
- "currency": "EUR"
}
}, - "gross": {
- "amount": 100,
- "currency": "EUR"
}, - "discount": {
- "amount": 100,
- "currency": "EUR"
}, - "markup": {
- "amount": 100,
- "currency": "EUR"
}, - "fees": {
- "waitTime": {
- "time": 120,
- "amount": {
- "amount": 100,
- "currency": "EUR"
}
}, - "cancellation": {
- "amount": {
- "amount": 100,
- "currency": "EUR"
}
}
}
}, - "payment": {
- "paymentType": "ON_ACCOUNT",
- "status": "NOT_SETTLED",
- "channel": "IN_VEHICLE"
}, - "trackingLinkExpiresAt": "2026-08-06T15:00:00Z"
}Update booking status
| bookingId required | integer Booking ID |
| status required | string Value: "CANCELLED" Booking status |
{- "status": "CANCELLED"
}{- "status": 400,
- "error": "The provided input is invalid",
- "timestamp": "2020-01-01T12:00:00Z"
}Create quotation
| customerId required | string <uuid> Customer ID UUID |
| paymentType required | string Enum: "ACCOUNT" "CASH" Payment method |
| pickupTime | string <date-time> Scheduled pickup time |
required | Array of objects [ 2 .. 10 ] items Trip waypoints (minimum 2 pickup and dropoff) |
{- "customerId": "123e4567-e89b-12d3-a456-426655440000",
- "paymentType": "ACCOUNT",
- "pickupTime": "2020-01-01T12:00:00Z",
- "tripWaypoints": [
- {
- "lat": 35.8859,
- "lng": 14.4042
}, - {
- "lat": 35.8859,
- "lng": 14.4042
}
]
}{- "id": 1,
- "distance": 1.71,
- "quotationForVehicleTypes": [
- {
- "vehicleType": {
- "code": "cab"
}, - "upfrontPriceModel": "FIXED_PRICE",
- "price": {
- "amount": 100,
- "currency": "EUR"
}, - "priceWithoutDiscount": {
- "amount": 100,
- "currency": "EUR"
}, - "priceRange": {
- "min": {
- "amount": 100,
- "currency": "EUR"
}, - "max": {
- "amount": 100,
- "currency": "EUR"
}
}
}
]
}Get quotation by ID
| quotationId required | integer Quotation ID |
{- "id": 1,
- "distance": 1.71,
- "quotationForVehicleTypes": [
- {
- "vehicleType": {
- "code": "cab"
}, - "upfrontPriceModel": "FIXED_PRICE",
- "price": {
- "amount": 100,
- "currency": "EUR"
}, - "priceWithoutDiscount": {
- "amount": 100,
- "currency": "EUR"
}, - "priceRange": {
- "min": {
- "amount": 100,
- "currency": "EUR"
}, - "max": {
- "amount": 100,
- "currency": "EUR"
}
}
}
]
}{- "results": [
- {
- "id": 7,
- "code": "cab",
- "name": "Cab Standard",
- "capacity": {
- "min": 1,
- "max": 4
}, - "description": "Cab Standard",
- "claim": "Sits up to 8 passengers",
- "vehicleTypeOrder": 1,
- "pricing": {
- "upfrontPriceModel": "FIXED_PRICE",
- "base": {
- "basePrice": {
- "amount": 100,
- "currency": "EUR"
}, - "minimumPrice": {
- "amount": 100,
- "currency": "EUR"
}, - "pricePerDistance": {
- "amount": 100,
- "currency": "EUR"
}, - "dayPricePerMinute": {
- "amount": 100,
- "currency": "EUR"
}, - "nightPricePerMinute": {
- "amount": 100,
- "currency": "EUR"
}
}
}
}
], - "pagination": {
- "size": 25,
- "page": 0,
- "counts": 100,
- "totalPages": 4,
- "first": true,
- "last": false,
- "next": true
}
}Get waiting times for vehicle types
| lat | number [ -90 .. 90 ] Example: lat=40.714224 Latitude coordinate in decimal degrees |
| lng | number [ -180 .. 180 ] Example: lng=-73.961452 Longitude coordinate in decimal degrees |
{- "results": [
- {
- "vehicleTypeCode": "cab",
- "estimatedWaitingTime": 300
}
], - "pagination": {
- "size": 25,
- "page": 0,
- "counts": 100,
- "totalPages": 4,
- "first": true,
- "last": false,
- "next": true
}
}Get vehicle location
| numberPlate required | string Vehicle numberplate |
{- "numberplate": "ABC123",
- "status": "IDLE",
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta",
- "bearing": 120
}, - "shiftId": 1,
- "vehicleTypeCode": "cab",
- "bookings": {
- "currentBooking": {
- "id": 1,
- "eta": 120
}, - "bookings": [
- 1
]
}
}Get vehicle locations
| vehicleTypeCodeIn | Array of strings [ 1 .. 10 ] items unique |
| status | string Enum: "IDLE" "BUSY" |
| page | integer [ 0 .. 10000 ] Default: 0 Example: page=0 Page number (0-indexed) |
| size | integer [ 1 .. 100 ] Default: 25 Example: size=25 Number of items per page |
{- "results": [
- {
- "numberplate": "ABC123",
- "status": "IDLE",
- "location": {
- "lat": 35.8859,
- "lng": 14.4042,
- "address": "Cathedral Square, Mdina, Malta",
- "bearing": 120
}, - "shiftId": 1,
- "vehicleTypeCode": "cab",
- "bookings": {
- "currentBooking": {
- "id": 1,
- "eta": 120
}, - "bookings": [
- 1
]
}
}
], - "pagination": {
- "size": 25,
- "page": 0,
- "counts": 100,
- "totalPages": 4,
- "first": true,
- "last": false,
- "next": true
}
}{- "results": [
- {
- "id": 1,
- "name": "Rule 1",
- "description": "Rule 1",
- "updatedAt": "2020-01-01T12:00:00Z",
- "status": "ACTIVE",
- "type": "GENERAL",
- "quota": {
- "type": "COMMON",
- "value": 100,
- "unit": "PERCENT"
}, - "criteria": {
- "booking": {
- "sources": [
- "string"
], - "asap": true
}, - "payment": {
- "paymentTypes": [
- "CASH"
]
}, - "vehicle": {
- "types": [
- "cab"
]
}, - "dateRange": {
- "dateFrom": "2020-01-01",
- "dateTo": "2020-01-01",
- "timeFrom": "10:00",
- "timeTo": "18:00",
- "daysOfWeek": [
- "MONDAY"
], - "isExtendedWeekend": true
}, - "zonesIds": [
- 1
], - "pointsIds": [
- 1
]
}, - "settings": {
- "waitingTime": {
- "waitTimeGracePeriod": 120
}, - "pricePerMinute": {
- "isFinalPriceRecalculationEnabled": true
}, - "surgeMap": {
- "showRule": true,
- "showRuleValue": true
}
}
}
], - "pagination": {
- "size": 25,
- "page": 0,
- "counts": 100,
- "totalPages": 4,
- "first": true,
- "last": false,
- "next": true
}
}Create pricing rule
| name | string <= 500 characters |
| description | string <= 500 characters |
| status | string Enum: "ACTIVE" "INACTIVE" "DRAFT" Rule status |
| type | string Enum: "GENERAL" "BOOKING_SOURCES" "ZONE" "DATE_RANGE" "CALL_ORIGIN" "PRICE_OVERWRITE" "WAIT_TIME_GRACE_PERIOD" Rule type |
object (RuleQuota) | |
object (RuleCriteria) | |
object (RuleSettings) |
{- "name": "Rule 1",
- "description": "Rule 1",
- "status": "ACTIVE",
- "type": "GENERAL",
- "quota": {
- "type": "COMMON",
- "value": 100,
- "unit": "PERCENT"
}, - "criteria": {
- "booking": {
- "sources": [
- "string"
], - "asap": true
}, - "payment": {
- "paymentTypes": [
- "CASH"
]
}, - "vehicle": {
- "types": [
- "cab"
]
}, - "dateRange": {
- "dateFrom": "2020-01-01",
- "dateTo": "2020-01-01",
- "timeFrom": "10:00",
- "timeTo": "18:00",
- "daysOfWeek": [
- "MONDAY"
], - "isExtendedWeekend": true
}, - "zonesIds": [
- 1
], - "pointsIds": [
- 1
]
}, - "settings": {
- "waitingTime": {
- "waitTimeGracePeriod": 120
}, - "pricePerMinute": {
- "isFinalPriceRecalculationEnabled": true
}, - "surgeMap": {
- "showRule": true,
- "showRuleValue": true
}
}
}{- "id": 1
}Get pricing rule by ID
| pricingRuleId required | integer >= 1 Example: 1 |
{- "id": 1,
- "name": "Rule 1",
- "description": "Rule 1",
- "updatedAt": "2020-01-01T12:00:00Z",
- "status": "ACTIVE",
- "type": "GENERAL",
- "quota": {
- "type": "COMMON",
- "value": 100,
- "unit": "PERCENT"
}, - "criteria": {
- "booking": {
- "sources": [
- "string"
], - "asap": true
}, - "payment": {
- "paymentTypes": [
- "CASH"
]
}, - "vehicle": {
- "types": [
- "cab"
]
}, - "dateRange": {
- "dateFrom": "2020-01-01",
- "dateTo": "2020-01-01",
- "timeFrom": "10:00",
- "timeTo": "18:00",
- "daysOfWeek": [
- "MONDAY"
], - "isExtendedWeekend": true
}, - "zonesIds": [
- 1
], - "pointsIds": [
- 1
]
}, - "settings": {
- "waitingTime": {
- "waitTimeGracePeriod": 120
}, - "pricePerMinute": {
- "isFinalPriceRecalculationEnabled": true
}, - "surgeMap": {
- "showRule": true,
- "showRuleValue": true
}
}
}Update pricing rule
| pricingRuleId required | integer >= 1 Example: 1 |
| name | string <= 500 characters |
| description | string <= 500 characters |
| status | string Enum: "ACTIVE" "INACTIVE" "DRAFT" Rule status |
| type | string Enum: "GENERAL" "BOOKING_SOURCES" "ZONE" "DATE_RANGE" "CALL_ORIGIN" "PRICE_OVERWRITE" "WAIT_TIME_GRACE_PERIOD" Rule type |
object (RuleQuota) | |
object (RuleCriteria) | |
object (RuleSettings) |
{- "name": "Rule 1",
- "description": "Rule 1",
- "status": "ACTIVE",
- "type": "GENERAL",
- "quota": {
- "type": "COMMON",
- "value": 100,
- "unit": "PERCENT"
}, - "criteria": {
- "booking": {
- "sources": [
- "string"
], - "asap": true
}, - "payment": {
- "paymentTypes": [
- "CASH"
]
}, - "vehicle": {
- "types": [
- "cab"
]
}, - "dateRange": {
- "dateFrom": "2020-01-01",
- "dateTo": "2020-01-01",
- "timeFrom": "10:00",
- "timeTo": "18:00",
- "daysOfWeek": [
- "MONDAY"
], - "isExtendedWeekend": true
}, - "zonesIds": [
- 1
], - "pointsIds": [
- 1
]
}, - "settings": {
- "waitingTime": {
- "waitTimeGracePeriod": 120
}, - "pricePerMinute": {
- "isFinalPriceRecalculationEnabled": true
}, - "surgeMap": {
- "showRule": true,
- "showRuleValue": true
}
}
}{- "id": 1,
- "name": "Rule 1",
- "description": "Rule 1",
- "updatedAt": "2020-01-01T12:00:00Z",
- "status": "ACTIVE",
- "type": "GENERAL",
- "quota": {
- "type": "COMMON",
- "value": 100,
- "unit": "PERCENT"
}, - "criteria": {
- "booking": {
- "sources": [
- "string"
], - "asap": true
}, - "payment": {
- "paymentTypes": [
- "CASH"
]
}, - "vehicle": {
- "types": [
- "cab"
]
}, - "dateRange": {
- "dateFrom": "2020-01-01",
- "dateTo": "2020-01-01",
- "timeFrom": "10:00",
- "timeTo": "18:00",
- "daysOfWeek": [
- "MONDAY"
], - "isExtendedWeekend": true
}, - "zonesIds": [
- 1
], - "pointsIds": [
- 1
]
}, - "settings": {
- "waitingTime": {
- "waitTimeGracePeriod": 120
}, - "pricePerMinute": {
- "isFinalPriceRecalculationEnabled": true
}, - "surgeMap": {
- "showRule": true,
- "showRuleValue": true
}
}
}{- "results": [
- {
- "id": 1,
- "name": "Zone 1",
- "radius": 100,
- "points": [
- {
- "lat": 52.5159,
- "lng": 13.3777
}
]
}
], - "pagination": {
- "size": 25,
- "page": 0,
- "counts": 100,
- "totalPages": 4,
- "first": true,
- "last": false,
- "next": true
}
}Create pricing zone
| name | string |
| radius | integer >= 1 Radius in meters |
Array of objects (ZonePoint) Zone points |
{- "name": "Zone 1",
- "radius": 100,
- "points": [
- {
- "lat": 52.5159,
- "lng": 13.3777
}
]
}{- "id": 1,
- "name": "Zone 1",
- "radius": 100,
- "points": [
- {
- "lat": 52.5159,
- "lng": 13.3777
}
]
}Update pricing zone
| pricingZoneId required | integer >= 1 Example: 1 |
| name | string |
| radius | integer >= 1 Radius in meters |
Array of objects (ZonePoint) Zone points |
{- "name": "Zone 1",
- "radius": 100,
- "points": [
- {
- "lat": 52.5159,
- "lng": 13.3777
}
]
}{- "id": 1,
- "name": "Zone 1",
- "radius": 100,
- "points": [
- {
- "lat": 52.5159,
- "lng": 13.3777
}
]
}Updates the driver identified by its existing numeric driver_id within the authenticated target tenant. Repeating the current status is a successful no-op and returns the same value in status and previousStatus. Requires DRIVER_STATUS_WRITER; the driver ID does not grant authorization.
| driverId required | integer <int32> [ 1 .. 2147483647 ] The existing driver_id shown in the Cuorium panel for the target tenant. Use decimal digits with a value from 1 through 2147483647. Non-numeric, fractional, non-positive and out-of-range values return 400 before any downstream call. No tenant override is accepted. |
| status required | string (DriverOperationalStatus) Enum: "ACTIVE" "SUSPENDED" "DEACTIVATED" The driver's operational status. |
{- "status": "SUSPENDED"
}{- "driverId": 12345,
- "status": "SUSPENDED",
- "previousStatus": "ACTIVE"
}