Skip to content

Skydropx - Cancel Shipment

This module cancels a previously generated shipping label in Skydropx. It receives the label ID and makes a DELETE request to the /labels/{label_id} endpoint. If the cancellation is successful, it returns the label ID and the updated status.

ParameterTypeRequiredDescription
credentials_idcredentialsYesSkydropx credential (provider: skydropx)
label_idtextYesLabel ID to cancel

A skydropx type credential is required with the following fields:

  • api_token: Skydropx API Token
{
"success": true,
"label_id": "lbl-12345",
"status": "cancelled",
"message": "Etiqueta cancelada exitosamente: lbl-12345"
}
{
"credentials_id": "mi_credencial_skydropx",
"label_id": "lbl-12345"
}
  • The label_id (not the tracking number) is used to cancel the label
  • Only labels that have not yet been scanned by the carrier can be canceled
  • The operation is irreversible
  • The status may come from result.status or result.data.status
  • Skydropx - Create Shipment / Label (skydropxCreateShipment)
  • Skydropx - Get Rates (skydropxGetRates)
  • Skydropx - Track Shipment (skydropxGetTracking)
  • Skydropx - Get Carriers (skydropxGetCarriers)