Skip to content
Light
English

REST Integration API

This article presents documentation for the Demander REST Integration API.

  • Integration Layout — integration via TXT files. See Integration Layout.
  • REST Integration API — direct and real-time integration via HTTP, without exchanging files.

Host

https://api.demander.com.br

Limit: 30 requests per minute per user.

Authentication (mandatory for all requests):

  • idEmpresa — company ID (query string)
  • x-api-token — token in HTTP header

How to get the token: request API Token.

Example:

GET https://api.demander.com.br/public/v1/cidades?idEmpresa={idEmpresa}
Header: x-api-token: {seuApiToken}

Base prefix: /public/v1/

ResourceOperationsDescription
Product AttachmentsQuery, insert, update, deleteAttachments linked to products (image, video, document, URL).
CitiesConsult, insert, update, deleteRegister of cities, including copy of IBGE cities.
CustomersConsult, insert, update, deleteRegister of customers of the company.
Payment TermsConsult, insert, update, deleteCompany payment terms.
Stocks by BranchConsult, insert, update, deleteStock balance by product and branch.
BranchesConsult, insert, update, deleteBranches/company units.
Payment MethodsConsult, insert, update, deletePayment methods company.
Product GroupsConsult, insert, update, deleteProduct groups (hierarchy and virtual store).
Price ListsConsult, insert, update, deleteCompany price lists.
OrdersConsult, update statusPending integration orders, detailed consultation and status.
Time PoliciesQuery, insert, update, deleteApp/web usage time policies.
Product PricesConsult, insert, update, deletePrices by product, price list and customer.
ProductsConsult, insert, update, deleteCompany product registration.
Routes and Route CustomersConsult, insert, update, deleteSeller and customer routes linked.
SegmentsConsult, insert, update, deleteCompany segments.
Order StatusConsult, insert, update, deleteRegistered statuses for orders.
Financial SecuritiesConsult, insert, update, deleteFinancial securities (accounts receivable) of the company.
TransportersConsult, insert, update, deleteTransporters and redispatch.
SellersConsult, insert, update, deleteRegister of sellers and sales managers.

Important: the REST Integration API is under construction. New routes are released gradually.