Change the destination
change_destinationUpdates the active ride’s destination after the user confirms the new price from a preview. Use to change the drop-off point for a booked ride.
Instructions
Changes the active ride's destination. Only call after preview_destination_change and the user agreeing to the new price; pass that price as confirmed_price_toman.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ride_id | No | ||
| destination | Yes | A saved place name (e.g. "home"), "here" for your current location, "lat,lng" coordinates, or an address / landmark (e.g. "Tajrish Square, Tehran" or "میدان تجریش"), which is looked up on OpenStreetMap. | |
| confirmed_price_toman | Yes | The new price the user agreed to. Must match the current preview. |