Cancel ride order

Cancels an active ride on behalf of the customer.

Fery also POSTs to your saved webhookURL with status: customer_cancelled.

Authentication

x-api-keystring
API key provided by Fery for DMRC integration.

Request

This endpoint expects an object.
orderIdstringOptional
requestIdstringOptional
Alias for orderId
cancelReasonstring or nullOptional
reasonstring or nullOptional
Alias for cancelReason

Response

Ride cancelled
statusCodeintegerOptional
successbooleanOptional
messagestringOptional
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error