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
  1. Sandbox

Propagate ride through ride status

PUT
/sandbox/rides/{id}
Sandbox
Propagate a sandbox-ride through various ride status
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"
}

Request

Path Params
id
string 
required
The ID of the ride
Body Params application/json
status
enum<string> 
required
The status of the ride
Allowed values:
pendingacceptedarrivedpickedUpdroppedOffcanceledscheduledunknown
Examples

Responses

🟢200An object with the Ride ID and the new status
application/json
Body
Response when a sandbox ride is propagated through ride status
ride_id
string 
optional
The ID of the ride
status
enum<string> 
optional
The status of the ride
Allowed values:
pendingacceptedarrivedpickedUpdroppedOffcanceledscheduledunknown
🟠400Validation error occurred
🟠403User or client does not have permission to complete this request
Modified at 2023-08-15 05:38:33
Previous
Preset Prime Time percentage
Next
Preset types of rides for sandbox
Built with