Skydropx - Cancel Shipment
Description
Section titled “Description”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.
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Skydropx credential (provider: skydropx) |
| label_id | text | Yes | Label ID to cancel |
Credentials
Section titled “Credentials”A skydropx type credential is required with the following fields:
- api_token: Skydropx API Token
Output
Section titled “Output”{ "success": true, "label_id": "lbl-12345", "status": "cancelled", "message": "Etiqueta cancelada exitosamente: lbl-12345"}Usage Example
Section titled “Usage Example”Basic case
Section titled “Basic case”{ "credentials_id": "mi_credencial_skydropx", "label_id": "lbl-12345"}API Used
Section titled “API Used”- Endpoint: DELETE
/labels/{label_id} - Base: Skydropx API (via helper
_skydropxHelper) - Documentation: https://docs.skydropx.com/
- 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.statusorresult.data.status
Related Nodes
Section titled “Related Nodes”- Skydropx - Create Shipment / Label (skydropxCreateShipment)
- Skydropx - Get Rates (skydropxGetRates)
- Skydropx - Track Shipment (skydropxGetTracking)
- Skydropx - Get Carriers (skydropxGetCarriers)