Sankhya icon

Sankhya

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

Actions137

Vendas — Pedidos REST (REST) → Incluir Pedido

AI-generated

Summary

Create a new sales order in the Sankhya ERP system using the REST API by providing a mandatory notaModelo (invoice model) and additional order data in JSON format.

Inputs

  • notaModelo (required) — Numeric code indicating the invoice model for the new sales order.
  • pedidoBody (required) — JSON object containing additional fields for the sales order including the mandatory codParc (customer code). This object complements the notaModelo parameter.

Output shape

a JSON object representing the created sales order response from the Sankhya REST API

The output reflects the API response to the POST /v1/vendas/pedidos endpoint. Errors may include HTTP or business error details if creation fails.

Links

Discussion