Sankhya icon

Sankhya

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

Actions137

Produtos (REST) → Listar Preços

AI-generated

Summary

Retrieve product price information from the Sankhya ERP via REST API, using specified price type and query parameters to filter results.

Inputs

  • Tipo de Preço (required) — Select the type of price to list. Options include: 'Preço Contexto', 'Preço por Produto', 'Preço Produto × Tabela', and 'Preço por Tabela'.
  • Parâmetros de Preço (JSON) — Provide additional query string parameters as a JSON object to filter or paginate the price listing (e.g., {"codTabela": 1, "page": 0}).

Output shape

A JSON object containing the list of product prices corresponding to the specified type and query parameters.

The output is the raw JSON response from the Sankhya REST endpoint /v1/precos/{tipo} with query parameters appended. Error handling applies to HTTP status and business logic errors returned by the API.

Examples

Example 1: List prices of type 'precoprodutotabela' with specified table code and page

Set 'Tipo de Preço' to 'Preço Produto × Tabela' and provide '{"codTabela": 1, "page": 0}' as 'Parâmetros de Preço (JSON)'. Upon execution, the node returns the matching product prices.

Links

Discussion