Detalhar produto
/api/open/v1/products/{id}Em resumo
GET /api/open/v1/products/{id}- Chave
readouread_write. - Obrigatórios:
id. - Sucesso:
200.
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.
idstringobrigatórioId do registro (UUID).
Resposta 200
application/jsonidstring<uuid>obrigatórioIdentificador único (UUID).
namestringobrigatórioNome.
categoryIdstring<uuid>pode ser nuloobrigatórioId de categoria (UUID).
categoryNamestringpode ser nuloobrigatórioNome de categoria (só leitura).
manufacturerIdstring<uuid>pode ser nuloobrigatórioId de fabricante (UUID).
manufacturerNamestringpode ser nuloobrigatórioNome de fabricante (só leitura).
barcodestringpode ser nuloobrigatórioCódigo de barras.
internalCodestringpode ser nuloobrigatórioCódigo interno.
unitenum<string>obrigatórioUnidade de medida.
Valores aceitos:
unmlgkglcmmcxpctcontentQtystringpode ser nuloobrigatórioQuantidade content.
priceCentsintegerobrigatórioPreço em centavos (8000 = R$ 80,00).
-9007199254740991 a 9007199254740991
lastCostCentsintegerpode ser nuloobrigatórioÚltimo custo em centavos (100 = R$ 1,00).
-9007199254740991 a 9007199254740991
minQtystringobrigatórioEstoque mínimo (abaixo dele entra em estoque baixo).
usageenum<string>obrigatórioValores aceitos:
resaleinternalbothactivebooleanobrigatórioAtivo (`true`) ou inativo (`false`). Inativos somem das buscas e da agenda.
notesstringpode ser nuloobrigatórioObservações livres.
stockQtystringobrigatórioQuantidade estoque.
avgCostCentsintegerobrigatórioAvg custo em centavos (100 = R$ 1,00).
-9007199254740991 a 9007199254740991
stockValueCentsintegerobrigatórioEstoque valor em centavos (100 = R$ 1,00).
-9007199254740991 a 9007199254740991
stockStatusenum<string>obrigatórioValores aceitos:
okbelow_minzeronegativephotoUrlstringpode ser nuloobrigatóriopadrão: nullURL assinada da foto (expira; não guarde).
createdAtstring<date-time>obrigatórioData e hora em que foi criado (ISO 8601, UTC).
curl --request GET \
--url 'https://qa-tratow.ips.app.br/api/open/v1/products/{id}' \
--header 'Authorization: Bearer <chave>'{
"id": "3f6c1b2a-4c7a-4d9e-8b1f-2e5d6a7b4c9d",
"name": "Maria Lima",
"categoryId": "3f6c1b2a-4c7a-4d9e-8b1f-2e5d6a7b4c9d",
"categoryName": "texto",
"manufacturerId": "3f6c1b2a-4c7a-4d9e-8b1f-2e5d6a7b4c9d",
"manufacturerName": "texto",
"barcode": "texto",
"internalCode": "texto",
"unit": "un",
"contentQty": "texto",
"priceCents": 8000,
"lastCostCents": 8000,
"minQty": "texto",
"usage": "resale",
"active": true,
"notes": "Prefere atendimento pela manhã.",
"stockQty": "texto",
"avgCostCents": 8000,
"stockValueCents": 8000,
"stockStatus": "ok",
"photoUrl": null,
"createdAt": "2026-11-03T17:30:00.000Z"
}Os valores são ilustrativos.
