Skip to content
Light
English

What Demander fetches from Meu ERP Online

A POST fetch uses the Meu ERP Online public SQL API (api/consulta/sql/v1), with pagination (limit 100 records per page).

Each active table in Tabelas de Integração Meu ERP Online with method POST defines:

  1. the SQL query in the ERP
  2. the Demander layout file name (numeric prefix)
  3. the execution order

Demander formats the response in column order and sends it to the standard importer (positional webservice).

How to build and test queries: Integration setup.

The exact list depends on what the company registered. Typical deployments include:

File name (example) Content
02_VENDEDORES Sellers
03_CIDADES Cities
06_FORMAPAGAMENTO Payment methods
09_LISTASPRECO Price lists
13_PRECO_PRODUTO Product prices
15_PRODUTO Products
18_CLIENTES Customers
19_TITULOS / 19_Titulos_Financeiros Financial titles
22_Status de Pedidos Order status updates

Some companies split “full” and “changed” sets (e.g. 18_CLIENTES and 18_CLIENTES_Alterados) to reduce automatic-run volume.

  • SELECT order is the layout order. Aliases only help reading the result in Testar query.
  • The API returns keys in lowercase; that does not change import.
  • Tables blocked in company settings (do not import from ERP) are skipped on fetch.
  • Orders with items use the special order-layout flow; the items table alone is not imported in isolation.

A GET table with path api/mercadoria/fotos/principais/v1 downloads the main photo and saves it on the product. The variation code in the ERP (idMercadoriaVariacao) must be the product code in this company.

The page starts at 1, or at the page set in the parameters. The default is 10 photos per page (limit). The image is replaced only when the content changed, or when the product had no photo yet.

How to set path, parameters, and schedule: Integration setup.

Every run creates a record in Logs de integração Meu ERP Online, type Busca. The detail shows URL, request, response, and failures per table.