API aberta · Estoque
Listar inventários
get
/api/open/v1/inventoriesEm resumo
GET /api/open/v1/inventories- Chave
readouread_write. - Sucesso:
200com uma lista.
AuthorizationstringheaderobrigatórioChave de API no formato Bearer ttw_live_<prefixo>_<segredo>, criada em Integrações → Chaves de API. Este endpoint precisa de chave read ou read_write.
Resposta 200
lista de objetosidstring<uuid>obrigatórioIdentificador único (UUID).
statusenum<string>obrigatórioSituação do registro. Os valores aceitos estão no tipo.
Valores aceitos:
opendonecanceledcategoryIdstring<uuid>pode ser nuloobrigatórioId de categoria (UUID).
categoryNamestringpode ser nuloobrigatórioNome de categoria (só leitura).
notesstringpode ser nuloobrigatórioObservações livres.
openedAtstring<date-time>obrigatórioData e hora em que foi aberto (ISO 8601, UTC).
completedAtstring<date-time>pode ser nuloobrigatórioData e hora em que foi concluído (ISO 8601, UTC).
productCountintegerobrigatórioQuantidade de produto.
-9007199254740991 a 9007199254740991
countedCountintegerobrigatórioQuantidade de counted.
-9007199254740991 a 9007199254740991
curl --request GET \
--url 'https://qa-tratow.ips.app.br/api/open/v1/inventories' \
--header 'Authorization: Bearer <chave>'[
{
"id": "3f6c1b2a-4c7a-4d9e-8b1f-2e5d6a7b4c9d",
"status": "open",
"categoryId": "3f6c1b2a-4c7a-4d9e-8b1f-2e5d6a7b4c9d",
"categoryName": "texto",
"notes": "Prefere atendimento pela manhã.",
"openedAt": "2026-11-03T17:30:00.000Z",
"completedAt": "2026-11-03T17:30:00.000Z",
"productCount": 1,
"countedCount": 1
}
]Os valores são ilustrativos.
