SEUR - Get Label
Description
Section titled “Description”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.
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | SEUR credential (provider: seur) |
| shipment_id | text | Yes | Shipment ID obtained when creating it in SEUR |
| format | select | No | Label format: PDF (default), ZPL |
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", "label_url": "https://api.seur.com/labels/SEUR-12345.pdf", "label_base64": "JVBERi0xLjQK...", "format": "PDF", "message": "Etiqueta SEUR obtenida en formato PDF"}Usage Example
Section titled “Usage Example”Basic case
Section titled “Basic case”{ "credentials_id": "mi_credencial_seur", "shipment_id": "SEUR-12345", "format": "PDF"}API Used
Section titled “API Used”- 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
Related Nodes
Section titled “Related Nodes”- SEUR - Create Shipment (seurCreateShipment)
- SEUR - Get Rates (seurGetRates)
- SEUR - Track Shipment (seurGetTracking)
- SEUR - Cancel Shipment (seurCancelShipment)