Sankhya icon

Sankhya

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

Actions137

PDV — Ponto de Venda (REST) → Suprimento

AI-generated

Summary

Perform a cash supply (suprimento) operation on a point of sale (PDV) via the Sankhya REST API by sending specified JSON payload data.

Inputs

  • Dados (JSON) (required) — A JSON object that must include at least codigoCaixa and codigoEmpresa to identify the cash register and company. Include valorSangria to add the supply amount (positive cash input) and an optional observacao (note). Example: {"codigoCaixa":1, "codigoEmpresa":1, "valorSangria":0, "observacao":""}.

Output shape

a single JSON object representing the response from the Sankhya PDV suprimento REST endpoint

Sends a POST request to the /v1/pdv/suprimento endpoint with the Dados (JSON) as body; the operation returns the parsed JSON response from the Sankhya API and may throw errors on failed requests or business validation errors.

Examples

Example 1: Add cash supply to a point of sale

Set the resource to 'PDV — Ponto de Venda (REST)', operation to 'Suprimento', and provide a JSON payload including the cash register code (codigoCaixa), company code (codigoEmpresa), and valorSangria amount representing the supply value to add to the cash register.

Links

Discussion