EntityUserNotifications

Get

GET
https://api.mercoa.com/entity/:entityId/user/:userId/notification/:notificationId

Path parameters

entityId
string
userId
string
notificationId
string

Response

This endpoint return an object.
id
string
type
enum
createdAt
datetime
invoiceId
optional string

The invoice ID that this notification is related to. This field is only present for notifications related to invoices.

GET
/entity/:entityId/user/:userId/notification/:notificationId
curl https://api.mercoa.com/entity/:entityId/user/:userId/notification/:notificationId \
-H "Authorization: Bearer <token>"
Response
{
"id": "string",
"type": "INVOICE_APPROVAL_NEEDED",
"createdAt": "2023-01-01T00:00:00Z",
"invoiceId": "string"
}