Melhor Envio icon

Melhor Envio

Interaja com a API do Melhor Envio

Serviços → Listar Serviços Disponíveis

AI-generated

Summary

Lists available shipment services for a route

Inputs

  • serviceFromCep — CEP de origem (8 dígitos, ex: 01310100)
  • serviceToCep — CEP de destino (8 dígitos, ex: 30130010)

Output shape

Array of service objects from the Melhor Envio API

Returns empty array if no CEPs provided or no services match the route

Examples

Example 1: Fetch services between CEP 01310100 (São Paulo) and 30130010 (Rio de Janeiro)

Call GET /me/shipment/services?from=01310100&to=30130010

Links

Discussion