tesla
  1. Booking
tesla
  • tesla
    • Auth
      • data captain
        • cars
        • get car model
        • get color model car
        • get manufacture years
      • register Captain
      • Login
      • Logout
      • register
      • edit profile
      • delete account
      • get profile
      • change password
      • active account
      • Verification Account
    • Forget Password
      • verify Email
    • Booking
      • store booking
        POST
      • get all
        GET
      • Drift
        GET
      • Drift Copy
        GET
      • get one
        GET
      • Update Ride
        PUT
    • Captains
      • get all
      • captain booking details
      • get one
      • update location
    • Cars
      • get all
      • get brand and model car
    • Payment
      • store
      • get all
      • get one
    • Gratuity
      • store
      • get all
      • get one
    • Contact Us
      • store
    • categories
      • get all
    • Services
      • get all
      • status service captain
    • location
      • update and channel
    • Saved Places
      • get all
      • store
      • update
      • delete
    • Promotion
      • get one
      • store
    • Transfer Wallet
      • store
      • Card Charging
      • get all
      • Verify Otp
      • Reset Otp
    • Public Information
      • Public Information
    • Setting
      • get one
    • Notification
      • unread notification
      • rad notification
      • rad notification Copy
    • Questions
      • questions
    • Payment Method
      • get all
    • Gratuity Salary
      • get all
    • Delay Period
      • get all
    • Favorites
      • get all
    • Order
      • get all
      • store
      • update
      • delete
      • Approved Request Order
      • delivery of orders
    • Wallet Charging
      • store
    • Plans
      • get all
      • store
      • subscriptions confirm
  1. Booking

Update Ride

PUT
{{tessla}}/booking/update-ride/1
Last modified:2025-04-17 15:13:35
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT '{{tessla}}/booking/update-ride/1' \
--header 'Accept: application/json' \
--header 'Accept-Language: ar' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "finished", // select pending - confirmed - cancelled - finished - paid
    "captain_id": 12

    // staus equal cancelled please send parameter cancel_reason
    // "cancel_reason": 3
}'
Response Response Example
{}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Accept
string 
required
Example:
application/json
Accept-Language
string 
required
Example:
ar
Body Params application/json
status
string 
required
captain_id
integer 
required
Examples

Responses

🟢200Success
application/json
Body
object {0}
Modified at 2025-04-17 15:13:35
Previous
get one
Next
get all
Built with