Skip to content

SEUR - Cancel Shipment

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.

ParameterTypeRequiredDescription
credentials_idcredentialsYesSEUR credential (provider: seur)
shipment_idtextYesShipment ID to cancel

A seur type credential is required with the following fields:

  • api_token: SEUR API Token
{
"success": true,
"shipment_id": "SEUR-12345",
"status": "CANCELLED",
"message": "Envio SEUR SEUR-12345 cancelado exitosamente"
}
{
"credentials_id": "mi_credencial_seur",
"shipment_id": "SEUR-12345"
}
  • 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
  • SEUR - Create Shipment (seurCreateShipment)
  • SEUR - Get Rates (seurGetRates)
  • SEUR - Track Shipment (seurGetTracking)
  • SEUR - Get Label (seurGetLabel)