Bling ERP icon

Bling ERP

Integração com a API v3 do Bling ERP

Actions216

Pedido de Venda → Obter Todos

AI-generated

Summary

Retrieve all sales orders ('Pedido de Venda') from Bling ERP, applying optional filters and pagination controls.

Inputs

  • Retornar Todos — Boolean flag to determine whether to return all results without limit or just a limited number.
  • Limite — Maximum number of sales order records to return if 'Retornar Todos' is false; integer between 1 and 100.
  • Filtros — Optional collection of filters to narrow down results, including date range filters (initial and final for inclusion, alteration, or expected dates) and IDs/numbers such as order situation, contact, store, order number, seller, and store order number.

Output shape

a JSON list of sales order objects, each containing detailed sales order data structured according to the Bling ERP API response format.

If 'Retornar Todos' is true, returns all matching sales orders; if false, returns up to the specified 'Limite'. The results respect any specified filters. Pagination and filtering are performed via the API parameters sent by the node. The response includes comprehensive sales order data, with nested fields properly unwrapped and transformed as per the node's data normalization logic.

Examples

Example 1: Fetch all sales orders included between 2023-01-01 and 2023-01-31

Set 'Retornar Todos' to true; under 'Filtros', set 'Data Inclusao Inicial' to '2023-01-01' and 'Data Inclusao Final' to '2023-01-31'.

Example 2: Fetch up to 50 sales orders linked to a specific contact

Set 'Retornar Todos' to false and 'Limite' to 50; under 'Filtros', set 'ID Contato' to the target contact ID.

Links

Discussion