v1

latestOpenAPI 3.1.02026-07-24558778.0 KB
Offers

Decline offer

Declines an available offer

post/offers/{id}/decline

Path parameters

idinteger required

The id of the offer to decline

Headers

{"stackTrail":"paths:/offers/{id}/decline:post:parameters:1:schema","oasType":"schema","type":"unknown"}

The optional (ideally unique) request identifier used for later analysis or diagnostics

Request body

reason'FARE_TOO_LOW' | 'NO_VEHICLE_AVAILABILITY' | 'NO_DRIVER_AVAILABILITY' | 'ADDONS_NOT_AVAILABLE' | 'INCORRECT_JOURNEY_DETAILS' | 'HOLIDAY' | 'STRIKE' | 'DISTANCE_TOO_SHORT_OR_LONG' | 'OTHER' required
descriptionstring

Response

OK