Skip to main content
POST
/
v1
/
notifications
/
low-inventory-alert
Send low inventory alert
curl --request POST \
  --url http://localhost:3000/v1/notifications/low-inventory-alert \
  --header 'Content-Type: application/json' \
  --data '
{
  "products": [
    {
      "name": "<string>",
      "currentQuantity": 123,
      "reorderPoint": 123
    }
  ]
}
'
{
  "success": true,
  "results": [
    {
      "success": true,
      "notificationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "error": "<string>"
    }
  ]
}

Body

application/json
products
object[]
required

Response

200 - application/json

Alert results

success
boolean
required
results
object[]
required