Melhor Envio icon

Melhor Envio

Interaja com a API do Melhor Envio

Carrinho → Adicionar ao Carrinho

AI-generated

Summary

Adds specified order IDs to the cart for batch checkout.

Inputs

  • cartOrders (required) — IDs dos pedidos separados por vírgula, placeholder order-id-1, order-id-2

Output shape

JSON items from the API response, each paired with its input execution index.

The node POSTs to /me/shipment/cart with { orders: [split from cartOrders] } and returns the API response data as paired JSON items.

Examples

Example 1: Add two orders to cart for batch checkout

cartOrders: 'order-123, order-456' maps to [{ orders: ['order-123', 'order-456'] }] POST /me/shipment/cart

Links

Discussion