Melhor Envio icon

Melhor Envio

Interaja com a API do Melhor Envio

Carrinho → Finalizar Compra

AI-generated

Summary

Finaliza o checkout dos itens do carrinho enviando IDs de pedidos para a API do Melhor Envio.

Inputs

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

Output shape

API response from /me/shipment/checkout, confirming checkout completion with order details and status.

The operation sends a POST request to /me/shipment/checkout with a JSON body { orders: [orderId1, orderId2, ...] } where the order IDs are parsed from the comma‑separated cartOrders string. If continueOnFail is enabled, errors are returned as JSON { error: message } paired with the input item index.

Links

Discussion