Melhor Envio icon

Melhor Envio

Interaja com a API do Melhor Envio

Etiqueta → Pré-visualizar Etiqueta

AI-generated

Summary

Preview the shipping label before generating it

Inputs

  • labelOrders (required) — IDs dos pedidos separados por vírgula

Output shape

The API response containing label preview data, returned as n8n items

The operation splits the comma-separated labelOrders string, trims whitespace, filters empty values, and sends a POST request to /me/shipment/preview with the orders array. Returns the preview data from the Melhor Envio API as n8n items.

Examples

Example 1: Preview labels for multiple orders

Set labelOrders to a comma-separated list of order IDs (e.g., 'order-123, order-456'). The operation will preview the shipping labels for those orders before they are generated.

Links

Discussion