store booking
POST
{{tessla}}/booking
Last modified:2025-04-17 15:13:35
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{tessla}}/booking' \
--header 'Accept: application/json' \
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '{
"category_id": 1,
"client_latitude": "29.971279",
"client_longitude": "31.265791",
"travel_latitude": "30.091560",
"travel_longitude": "31.258579",
"radius": 1500,
"from": "alexandria",
"to": "menoufia",
"type": "normal", // please send normal or drift
"amount": 1000,
"brand_id": 1,
"model_car_id": 1,
"payment_method": "paypal", // please fetch end point payment method
"status": "pending", // select pending - confirmed - cancelled - finished
"trip_favorites": [
// 1,
// 3
]
}'
Response Response Example
{}
Request
Header Params
Accept
string
required
Example:
application/json
Accept-Language
string
required
Example:
en
Body Params application/json
Responses
Modified at 2025-04-17 15:13:35