SEUR - Get Rates
Description
Section titled “Description”This module gets the available SEUR shipping rates for a given package. It receives the origin and destination zip codes, countries, weight, and optionally a specific product type. It makes a POST request to the /rates endpoint and processes the response to extract the product, service name, price, currency, delivery time, and taxes. It automatically identifies the cheapest rate.
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | SEUR credential (provider: seur) |
| origin_postal | text | Yes | Origin zip code |
| dest_postal | text | Yes | Destination zip code |
| origin_country | text | Yes | ISO 2-letter origin country code (default: ES) |
| dest_country | text | Yes | ISO 2-letter destination country code (default: ES) |
| weight | text | Yes | Package weight in kg (e.g.: 1.500) |
| product | select | No | Filter by product: standard, express, 48h, 72h. Empty for all |
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, "rates": [ { "product": "express", "service_name": "SEUR Express", "price": "8.50", "currency": "EUR", "delivery_time": "24h", "tax": "1.79" } ], "rates_count": 3, "cheapest": { "product": "72h", "service_name": "SEUR 72h", "price": "4.20", "currency": "EUR" }, "message": "3 tarifas SEUR obtenidas"}Usage Example
Section titled “Usage Example”Basic case
Section titled “Basic case”{ "credentials_id": "mi_credencial_seur", "origin_postal": "28001", "dest_postal": "08001", "origin_country": "ES", "dest_country": "ES", "weight": "2.000"}API Used
Section titled “API Used”- Endpoint: POST
/rates - Base: SEUR API (via helper
_seurHelper) - Documentation: https://www.seur.com/
- If no product is specified, all available options are returned
- The default currency is EUR
- The default countries are ES (Spain) for both origin and destination
- The response handles both arrays and individual objects
Related Nodes
Section titled “Related Nodes”- SEUR - Create Shipment (seurCreateShipment)
- SEUR - Track Shipment (seurGetTracking)
- SEUR - Cancel Shipment (seurCancelShipment)
- SEUR - Get Label (seurGetLabel)