Notification
Last updated
Last updated
POST /notification/new HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 98
{
"brand_id": "text",
"notifications": [
{
"type": "inapp",
"notification": {}
}
],
"collection_ids": [
"text"
]
}{
"success": true,
"message": "Request successful",
"data": "Brand | Product | Notification | ..."
}GET /notification/all/{brand_id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"message": "Request successful",
"data": "Brand | Product | Notification | ..."
}