Skip to content

SEUR - Create Shipment

This module creates a shipment in SEUR. It receives the sender and recipient data in JSON format, the product type (standard, express, 48h, 72h), weight, number of packages, reference, and description. It makes a POST request to the /shipments endpoint and returns the shipment ID, tracking number, tracking URL, label URL, selected product, and status. SEUR is one of the main carriers in Spain and Portugal.

ParameterTypeRequiredDescription
credentials_idcredentialsYesSEUR credential (provider: seur)
sendertextareaYesSender data in JSON (name, address, city, postal_code, country, phone)
receivertextareaYesRecipient data in JSON
productselectYesProduct type: standard, express, 48h, 72h
weighttextYesPackage weight in kg (e.g.: 1.500)
packages_counttextNoNumber of packages (default: 1)
referencetextNoInternal shipment reference
descriptiontextNoContent description

A seur type credential is required with the following fields:

  • api_token: SEUR API Token

Credentials are obtained from the SEUR customer portal.

{
"success": true,
"shipment_id": "SEUR-12345",
"tracking_number": "5012345678901",
"tracking_url": "https://www.seur.com/livetracking/...",
"label_url": "https://api.seur.com/labels/SEUR-12345.pdf",
"product": "express",
"reference": "ORD-001",
"status": "CREATED",
"message": "Envio SEUR creado - Tracking: 5012345678901"
}
{
"credentials_id": "mi_credencial_seur",
"sender": "{\"name\":\"Mi Empresa\",\"address\":\"Calle Gran Via 1\",\"city\":\"Madrid\",\"postal_code\":\"28001\",\"country\":\"ES\",\"phone\":\"+34600000000\"}",
"receiver": "{\"name\":\"Cliente\",\"address\":\"Av Diagonal 100\",\"city\":\"Barcelona\",\"postal_code\":\"08001\",\"country\":\"ES\",\"phone\":\"+34600000001\"}",
"product": "express",
"weight": "2.500"
}
  • The default number of packages is 1
  • Weight is expressed in kilograms
  • SEUR operates primarily in Spain and Portugal
  • Available products are: standard, express, 48h, and 72h
  • SEUR - Get Rates (seurGetRates)
  • SEUR - Track Shipment (seurGetTracking)
  • SEUR - Cancel Shipment (seurCancelShipment)
  • SEUR - Get Label (seurGetLabel)