API aberta · Checkout: comandas
Próximo número de comanda
get
/api/open/v1/tabs/next-numberEm resumo
GET /api/open/v1/tabs/next-number- Chave
readouread_write. - 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.
Resposta 200
application/jsonnumberintegerobrigatórioNúmero.
-9007199254740991 a 9007199254740991
curl --request GET \
--url 'https://qa-tratow.ips.app.br/api/open/v1/tabs/next-number' \
--header 'Authorization: Bearer <chave>'{
"number": 1
}Os valores são ilustrativos.
