SEUR - Cancel Shipment
Description
Section titled “Description”This module cancels a previously created shipment in SEUR. It receives the shipment ID and makes a DELETE request to the /shipments/{shipment_id} endpoint. If the cancellation is successful, it returns the shipment ID and the CANCELLED status.
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | SEUR credential (provider: seur) |
| shipment_id | text | Yes | Shipment ID to cancel |
Credentials
Section titled “Credentials”A seur type credential is required with the following fields:
- api_token: SEUR API Token
Output
Section titled “Output”{ "success": true, "shipment_id": "SEUR-12345", "status": "CANCELLED", "message": "Envio SEUR SEUR-12345 cancelado exitosamente"}Usage Example
Section titled “Usage Example”Basic case
Section titled “Basic case”{ "credentials_id": "mi_credencial_seur", "shipment_id": "SEUR-12345"}API Used
Section titled “API Used”- Endpoint: DELETE
/shipments/{shipment_id} - Base: SEUR API (via helper
_seurHelper) - Documentation: https://www.seur.com/
- Only shipments that have not yet been picked up by SEUR can be canceled
- The operation is irreversible once completed
Related Nodes
Section titled “Related Nodes”- SEUR - Create Shipment (seurCreateShipment)
- SEUR - Get Rates (seurGetRates)
- SEUR - Track Shipment (seurGetTracking)
- SEUR - Get Label (seurGetLabel)