Envia icon

Envia

Interact with the Envia shipping API for Latin America

Shipment → Get Rates

AI-generated

Summary

Retrieves carrier rate comparisons from Envia's shipping API.

Inputs

  • originName (required) — Sender full name
  • originPhone (required) — Sender phone number
  • originStreet (required) — Sender street address
  • originCity (required) — Sender city
  • originState (required) — Sender state or province code
  • originCountry (required) — Sender country (ISO 3166-1 alpha-2, e.g. MX, US, CO)
  • originPostalCode (required) — Sender postal / ZIP code
  • destinationName (required) — Recipient full name
  • destinationPhone (required) — Recipient phone number
  • destinationStreet (required) — Recipient street address
  • destinationCity (required) — Recipient city
  • destinationState (required) — Recipient state or province code
  • destinationCountry (required) — Recipient country (ISO 3166-1 alpha-2, e.g. MX, US, CO)
  • destinationPostalCode (required) — Recipient postal / ZIP code
  • packageWeight (required) — Package weight in kilograms
  • packageLength (required) — Package length in centimeters
  • packageWidth (required) — Package width in centimeters
  • packageHeight (required) — Package height in centimeters
  • packageContent — Description of package contents
  • packageDeclaredValue — Declared value for insurance (in origin currency)
  • carriers (required) — Comma-separated carrier codes to compare, e.g. dhl,fedex,estafeta
  • packageType — Package type
  • packageAmount — Package amount
  • packageWeightUnit — Weight unit
  • packageLengthUnit — Length unit
  • shipmentType — Shipment type
  • environment — Environment (production or test), sourced from credentials
  • requestOptions — Request options including batching, proxy, and timeout

Output shape

The node sends a POST request to Envia's /ship/rate/ endpoint with the shipment payload. The API response (rate quotes) is made available as the node's output data.

Base URL is determined by the environment credential (production: https://api.envia.com, test: https://api-test.envia.com). Headers include Accept: application/json and Content-Type: application/json.

Examples

Example 1: Get rate comparisons for a Mexico-to-Mexico parcel via DHL and FedEx.

Set environment to production or test, specify origin/destination details, set carriers to 'dhl,fedex', and provide package dimensions and weight.

Links

Discussion