Sankhya icon

Sankhya

Integração completa com o ERP Sankhya — REST v1/v2 e Gateway

Actions137

Logística (REST) → Adicionar Pedido à Ordem

AI-generated

Summary

Add a sales order identified by 'nroUnico' as a pedido (order) to an existing logistics load order specified by its 'id'.

Inputs

  • id (required) — The identifier of the existing logistics load order to which the pedido (order) will be added.
  • logisticaDados (required) — A JSON object containing order data, specifically must include 'nroUnico', which identifies the sales pedido to add to the logistics order.

Output shape

The API response to adding the pedido to the logistics load order, typically a confirmation object or status from Sankhya's REST endpoint.

Returns the result of the POST request to /v1/logistica/ordens-carga/{id}/pedidos. Throws errors for failed operations or if the request is not authorized.

Links

Discussion