Skip to content

SEUR - Get Rates

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.

ParameterTypeRequiredDescription
credentials_idcredentialsYesSEUR credential (provider: seur)
origin_postaltextYesOrigin zip code
dest_postaltextYesDestination zip code
origin_countrytextYesISO 2-letter origin country code (default: ES)
dest_countrytextYesISO 2-letter destination country code (default: ES)
weighttextYesPackage weight in kg (e.g.: 1.500)
productselectNoFilter by product: standard, express, 48h, 72h. Empty for all

A seur type credential is required with the following fields:

  • api_token: SEUR API Token
{
"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"
}
{
"credentials_id": "mi_credencial_seur",
"origin_postal": "28001",
"dest_postal": "08001",
"origin_country": "ES",
"dest_country": "ES",
"weight": "2.000"
}
  • 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
  • SEUR - Create Shipment (seurCreateShipment)
  • SEUR - Track Shipment (seurGetTracking)
  • SEUR - Cancel Shipment (seurCancelShipment)
  • SEUR - Get Label (seurGetLabel)