Notificações do sistema
Base: https://api.nivesistemas.com.br · 4 endpoints
GET /system-notifications
Seção intitulada “GET /system-notifications”Listar notificações
curl -X GET "https://api.nivesistemas.com.br/system-notifications" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/system-notifications", { 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/system-notifications", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())POST /system-notifications/mark-all-read
Seção intitulada “POST /system-notifications/mark-all-read”Marcar todas como lidas
curl -X POST "https://api.nivesistemas.com.br/system-notifications/mark-all-read" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/system-notifications/mark-all-read", { 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/system-notifications/mark-all-read", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())POST /system-notifications/read
Seção intitulada “POST /system-notifications/read”Marcar notificações como lidas
curl -X POST "https://api.nivesistemas.com.br/system-notifications/read" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/system-notifications/read", { 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/system-notifications/read", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())POST /system-notifications/:notificationId/read
Seção intitulada “POST /system-notifications/:notificationId/read”Marcar notificação como lida
Parâmetros de rota: notificationId
curl -X POST "https://api.nivesistemas.com.br/system-notifications/{notificationId}/read" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/system-notifications/{notificationId}/read", { 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/system-notifications/{notificationId}/read", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())
