Demander API - Brands
This article is part of the REST Integration API documentation.
Documentation for querying, inserting, updating and deleting brands.
Consultation
Section titled “Consultation”Lists the company’s brands. Without a filter, it considers dataAlteracao from the last 6 months.
Rota: {host}/public/v1/marcas?pagina={pagina}&limite={limite}&filtroDataAlteracao={data}&operadorFiltro={operador}Método: GETReturn:
{ "marcas": [ { "codigo": 10, "descricao": "NESTLE", "ativo": 1, "dataAlteracao": "2026-10-28 10:00:00" } ]}Insert or update
Section titled “Insert or update”POST upsert by the codigo key.
Rota: {host}/public/v1/marcasMétodo: POSTBody: json| Property | Type | Size | Mandatory | Description |
|---|---|---|---|---|
| codigo | int | ✓ | Brand code. Unique identifier used to insert or update (upsert). Minimum 1. |
|
| descricao | string | 50 | ✓ | Brand name. |
| ativo | int | Values: 0 or 1. Default on insert: 1. |
Body:
{ "codigo": 10, "descricao": "NESTLE", "ativo": 1}Return:
{ "codigo": 10, "descricao": "NESTLE", "ativo": 1, "dataAlteracao": "2026-10-28 10:00:00"}Delete
Section titled “Delete”Removes the brand.
Rota: {host}/public/v1/marcas?codigo={codigo}Método: DELETEReturn:
{ "mensagem": "Registro excluído com sucesso."}