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>"
}
]
}Sends low inventory alerts for specified products.
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>"
}
]
}