Update Notification (Mark as Read)

PUT/api/notifications/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number Notification unique ID
curl -X PUT "https://yoursite.com/api/notifications/123" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "field": "value" }'

Success-Response:

HTTP/1.1 200 OK
{
  "status": 200,
  "messages": {"success": "Notification update success"}
}
MethodPUT
Path/api/notifications/{id}
GroupNotifications
Sincev1.0.0
Defined inRestApi/Controllers/NotificationsController.php