# Cancel parcel Cancel the booking of a specific parcel. Only parcels that haven’t been delivered can be cancelled. This endpoint allows carriers to manage cancellations effectively. Endpoint: PATCH /parcels/{parcelId} Version: 1.1.0 Security: ApiKeyAuth ## Path parameters: - `parcelId` (string, required) The parcel ID to be cancelled Example: "1234567890" ## Response 400 fields (application/json): - `errorCode` (string) A code representing the type of error. Example: "INVALID_REQUEST" - `message` (string) A message describing the error. Example: "Bad request due to invalid input" ## Response 401 fields (application/json): - `errorCode` (string) A code representing the type of error. Example: "UNAUTHORIZED" - `message` (string) A message describing the error. Example: "The requested resource requires authentication" ## Response 404 fields (application/json): - `errorCode` (string) A code representing the type of error. Example: "NOT_FOUND" - `message` (string) A message describing the error. Example: "The requested resource was not found" ## Response 500 fields (application/json): - `errorCode` (string) A code representing the type of error. Example: "SERVER_ERROR" - `message` (string) A message describing the error. Example: "The server encountered an internal error"