Skip to content

SEUR - Get Label

This module gets the label for a previously created shipment in SEUR. It receives the shipment ID and the desired format (PDF or ZPL). It makes a GET request to the /shipments/{shipment_id}/label endpoint with the format parameter and returns the label URL and/or the content in base64.

ParameterTypeRequiredDescription
credentials_idcredentialsYesSEUR credential (provider: seur)
shipment_idtextYesShipment ID obtained when creating it in SEUR
formatselectNoLabel format: PDF (default), ZPL

A seur type credential is required with the following fields:

  • api_token: SEUR API Token
{
"success": true,
"shipment_id": "SEUR-12345",
"label_url": "https://api.seur.com/labels/SEUR-12345.pdf",
"label_base64": "JVBERi0xLjQK...",
"format": "PDF",
"message": "Etiqueta SEUR obtenida en formato PDF"
}
{
"credentials_id": "mi_credencial_seur",
"shipment_id": "SEUR-12345",
"format": "PDF"
}
  • Endpoint: GET /shipments/{shipment_id}/label
  • Base: SEUR API (via helper _seurHelper)
  • Documentation: https://www.seur.com/
  • The default format is PDF
  • ZPL is useful for thermal printers
  • The label may come as a URL, as base64 content, or both, depending on the API configuration
  • Useful for reprinting labels for already created shipments
  • SEUR - Create Shipment (seurCreateShipment)
  • SEUR - Get Rates (seurGetRates)
  • SEUR - Track Shipment (seurGetTracking)
  • SEUR - Cancel Shipment (seurCancelShipment)