Skip to content

Sendcloud - Cancel Parcel

This module cancels a previously created parcel in Sendcloud. It receives the parcel ID and makes a POST request to the /parcels/{parcel_id}/cancel endpoint. It is only possible to cancel parcels that have not yet been picked up by the carrier. If the cancellation is successful, it returns the parcel ID and the updated status.

ParameterTypeRequiredDescription
credentials_idcredentialsYesSendcloud credential (provider: sendcloud)
parcel_idtextYesParcel ID to cancel

A sendcloud type credential is required with the following fields:

  • public_key: Sendcloud Public Key
  • secret_key: Sendcloud Secret Key
{
"success": true,
"parcel_id": "12345",
"status": "cancelled",
"message": "Paquete 12345 cancelado exitosamente"
}
{
"credentials_id": "mi_credencial_sendcloud",
"parcel_id": "12345"
}
  • Only parcels that have not yet been picked up by the carrier can be canceled
  • The cancellation is performed via POST (not DELETE)
  • Once canceled, the label is invalidated