Offers

Decline offer

Declines an available offer

post/offers/{id}/decline

Request

  • Base URL
    https://warpdrive.staging.transferz.com/transfercompanies
  • URL
    https://warpdrive.staging.transferz.com/transfercompanies/offers/{id}/decline
  • Auth
    API key in header X-API-Key

Path parameters

idinteger required

The id of the offer to decline

Headers

X-Request-IDunknown

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

Changes

No recorded changes to this operation across all 2 revisions of this API.