Operações de maquininha
Base: https://api.nivesistemas.com.br · 6 endpoints
GET /maquininha-operacoes/report
Seção intitulada “GET /maquininha-operacoes/report”Obter relatório
curl -X GET "https://api.nivesistemas.com.br/maquininha-operacoes/report" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/maquininha-operacoes/report", { method: "GET", headers: { Authorization: "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },});const data = await res.json();import requests
res = requests.request( "GET", "https://api.nivesistemas.com.br/maquininha-operacoes/report", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())GET /maquininha-operacoes
Seção intitulada “GET /maquininha-operacoes”Listar operações de maquininha
curl -X GET "https://api.nivesistemas.com.br/maquininha-operacoes" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/maquininha-operacoes", { method: "GET", headers: { Authorization: "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },});const data = await res.json();import requests
res = requests.request( "GET", "https://api.nivesistemas.com.br/maquininha-operacoes", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())GET /maquininha-operacoes/:id/status
Seção intitulada “GET /maquininha-operacoes/:id/status”Status
Parâmetros de rota: id
curl -X GET "https://api.nivesistemas.com.br/maquininha-operacoes/{id}/status" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/maquininha-operacoes/{id}/status", { method: "GET", headers: { Authorization: "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },});const data = await res.json();import requests
res = requests.request( "GET", "https://api.nivesistemas.com.br/maquininha-operacoes/{id}/status", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())GET /maquininha-operacoes/:id
Seção intitulada “GET /maquininha-operacoes/:id”Detalhe
Parâmetros de rota: id
curl -X GET "https://api.nivesistemas.com.br/maquininha-operacoes/{id}" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/maquininha-operacoes/{id}", { method: "GET", headers: { Authorization: "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },});const data = await res.json();import requests
res = requests.request( "GET", "https://api.nivesistemas.com.br/maquininha-operacoes/{id}", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())POST /maquininha-operacoes
Seção intitulada “POST /maquininha-operacoes”Criar operação de maquininha
curl -X POST "https://api.nivesistemas.com.br/maquininha-operacoes" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/maquininha-operacoes", { method: "POST", headers: { Authorization: "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },});const data = await res.json();import requests
res = requests.request( "POST", "https://api.nivesistemas.com.br/maquininha-operacoes", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())DELETE /maquininha-operacoes/:id
Seção intitulada “DELETE /maquininha-operacoes/:id”Excluir
Parâmetros de rota: id
curl -X DELETE "https://api.nivesistemas.com.br/maquininha-operacoes/{id}" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/maquininha-operacoes/{id}", { method: "DELETE", headers: { Authorization: "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },});const data = await res.json();import requests
res = requests.request( "DELETE", "https://api.nivesistemas.com.br/maquininha-operacoes/{id}", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())
