Skip to main content
POST
/
book
/
cancel
Cancel a booking
curl --request POST \
  --url https://api.shippeek.dev/book/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "bookingId": "<string>",
  "pickupNumber": "<string>"
}
'

Authorizations

Authorization
string
header
required

Your ShipPeek API token in the format client_id.client_secret.

Body

application/json
bookingId
string

The booking ID to cancel

pickupNumber
string

The pickup number to cancel

Response

Booking cancelled successfully