Melhor Envio icon

Melhor Envio

Interaja com a API do Melhor Envio

Envio (Frete) → Calcular Frete

AI-generated

Summary

Operation Calcular Frete (Melhor Envio Node), package n8n-nodes-melhor-envio @ 0.1.4

Inputs

  • fromPostalCode (required) — CEP de origem (somente números, 8 dígitos)
  • toPostalCode (required) — CEP de destino (somente números, 8 dígitos)
  • products (required) — Lista de produtos a ser enviada
  • api_endpoint (required) — POST /me/shipment/calculate
  • returns (required) — Array of freight rate objects from Melhor Envio API (POST /me/shipment/calculate)

Output shape

The API response is returned as JSON items, each item represents the calculation result for one product or the combined freight data.

No filler text. Each parameter's required status and purpose is explicitly declared based on the source properties and source.xml execution flow.

Examples

Example 1: calcula frete

...

Links

Discussion