Mark a case's notifications read
POST/notifications/read-by-entity
Marks the authenticated user's unread notifications for the given entity codes (a purchase request and/or purchase order) as read, optionally narrowed to notification types. Lets a client clear a case's badges when the user opens it, without knowing which notification ids back them. Codes the user holds no notifications for are ignored; the response reports how many rows applied.
Request
Responses
- 200
- 400
- 401
- 403
- 429
OK
Bad Request
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request