Lyft
  1. Sandbox
Lyft
  • Public
    • Cost estimates
      GET
    • Available drivers nearby
      GET
    • Pickup ETAs
      GET
    • Types of rides
      GET
  • User
    • The user's general info
      GET
    • List rides
      GET
    • Request a Lyft
      POST
    • Get the ride detail of a given ride ID
      GET
    • Cancel a ongoing requested ride
      POST
    • Update the destination of the ride
      PUT
    • Add the passenger's rating, feedback, and tip
      PUT
    • Get the receipt of the rides.
      GET
  • Sandbox
    • Preset Prime Time percentage
      PUT
    • Propagate ride through ride status
      PUT
    • Preset types of rides for sandbox
      PUT
    • Driver availability for processing ride request
      PUT
  • Schemas
    • Schemas
      • ApiError
      • CancellationCost
      • CancellationCostError
      • CancellationRequest
      • Charge
      • Cost
      • CostEstimate
      • CurrentRideLocation
      • DriverDetail
      • ErrorDetail
      • Eta
      • LatLng
      • LineItem
      • Location
      • NearbyDriver
      • NearbyDriversByRideType
      • PassengerDetail
      • PickupDropoffLocation
      • PricingDetails
      • Profile
      • RatingRequest
      • Ride
      • RideDetail
      • RideLocation
      • RideProfileEnum
      • RideReceipt
      • RideRequest
      • RideRequestError
      • RideStatusEnum
      • RideType
      • RideTypeEnum
      • RideTypeEnumWithOther
      • SandboxDriverAvailability
      • SandboxPrimetime
      • SandboxRideStatus
      • SandboxRideType
      • SandboxRideUpdate
      • Tip
      • TipParams
      • UserDetail
      • VehicleDetail
  1. Sandbox

Propagate ride through ride status

PUT
/sandbox/rides/{id}
Propagate a sandbox-ride through various ride status

Request

Path Params

Body Params application/json

Examples

Responses

🟢200An object with the Ride ID and the new status
application/json
Body

🟠400Validation error occurred
🟠403User or client does not have permission to complete this request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.lyft.com/v1/sandbox/rides/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "lyft"
}'
Response Response Example
200 - Example 1
{
    "ride_id": 123456789,
    "status": "accepted"
}
Modified at 2023-08-15 05:38:33
Previous
Preset Prime Time percentage
Next
Preset types of rides for sandbox
Built with