cURL
curl --request POST \ --url https://api.shippeek.dev/book/cancel \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "bookingId": "<string>", "pickupNumber": "<string>" } '
Cancel a booking or pickup by booking ID or pickup number.
Your ShipPeek API token in the format client_id.client_secret.
client_id.client_secret
The booking ID to cancel
The pickup number to cancel
Booking cancelled successfully