title | String | The title of the notification, in English. |
title_ar | String | The title of the notification, in Arabic. |
body | String | The message of the notification, in English. |
body_ar | String | The message of the notification, in Arabic. |
type | Integer | A numerical identifier for the type of notification. Notification Types -
(1) : the type of notification doesn't have products -
(2) : the type of notification have products from a sub-category -
(4) : the type of notification have products from a brand -
(5) : the type of notification have products from a custom list -
(6) : the type of notification have products from a category -
(8) : the type of notification have products from a group
|
item_id | Integer | The ID of the specific item related to the notification. - If the type is Product the item ID will be the ID of the product.
- If the type is Subcategory the item ID will be the ID of the subcategory.
- If the type is Brand the item ID will be the ID of the brand.
- If the type is Custom List the item ID will be the ID of the custom list.
- If the type is Category the item ID will be the ID of the category.
- If the type is Link the item ID will be empty.
|
item_link | String | When clicked and type is Link the notification redirects to URL. |
read | Integer | A boolean flag indicating whether the notification has been read by the user. |
image | String | An optional image associated with the notification. |
name | String | The name of the item related to the notification. |
slug | String | A unique identifier for the item related to the notification. |
created_at | Timestamp | The date and time the notification was created. |
details | Object | Additional details or metadata related to the notification. |