Cancel Pickup Request

Cancel Pickup Request

In this endpoint, you are able to cancel a pickup request if the driver haven't process the order.

PATCH Cancel Pickup Request

PATCH /v3/pickup/cancel

Request Data

ParameterTypeDescription
pickup_Code
(required)
stringpickup_Code of the order obtained when creating a pickup order

Sample Request and Response

curl --location --request PATCH '{{baseUrl}}/v3/pickup/cancel' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pickup_Code": "P2105429SB4"

}'
{
    "metadata": {
        "path": "/v3/pickup/cancel",
        "http_status_code": 200,
        "http_status": "OK",
        "timestamp": 1621435696
    }
}

Response List

ParameterDescription
metadataMetadata information
metadata.pathAPI endpoint path
metadata.http_status_codeHTTP status code
metadata.http_statusHTTP status
metadata.timestampTimestamp