Requisição
uuid
obrigatório
A loja.
uuid
obrigatório
O
id da comanda.Resposta
Retorna200 OK com a comanda já removida: code vem null e status vem UNAVAILABLE.
200 OK
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Tire uma comanda de uso e libere o código dela para outra comanda.
id da comanda.curl --request DELETE 'https://api.deliveryvip.com.br/merchant/v3/{merchantId}/tabs/{tabId}' \
--header 'Authorization: Bearer {token}'
await fetch(`https://api.deliveryvip.com.br/merchant/v3/${merchantId}/tabs/${tabId}`, {
method: 'DELETE',
headers: { Authorization: `Bearer ${token}` },
})
requests.delete(
f"https://api.deliveryvip.com.br/merchant/v3/{merchant_id}/tabs/{tab_id}",
headers={"Authorization": f"Bearer {token}"},
)
200 OK com a comanda já removida: code vem null e status vem UNAVAILABLE.
{
"id": "6b7cd994-d8ff-4d12-8064-251becc39b08",
"createdAt": "2023-02-09T17:56:43-03:00",
"name": "0014",
"code": null,
"qrcode": "https://qrcode.dvstore.com/qrcode/indoor_tab_6b7cd994-d8ff-4d12-8064-251becc39b08",
"status": "UNAVAILABLE",
"situation": "OPENED"
}
tabId responde 404. Para usar a comanda de novo, cadastre outra e imprima o novo QR Code.| Status | Quando |
|---|---|
404 Not Found | O merchantId não autorizou o seu app, a comanda não existe ou já foi removida, ou o tabId não é um UUID válido. |