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

Parameter

Type

Description

pickup_Code
(required)

string

pickup_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

Parameter

Description

metadata

Metadata information

metadata.path

API endpoint path

metadata.http_status_code

HTTP status code

metadata.http_status

HTTP status

metadata.timestamp

Timestamp