IUCJsonPushNotificationSave Method |
Register a device to receive Push Notifications, or update the registration and its enabled/disabled status
Namespace: LSOmni.ServiceAssembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntaxbool PushNotificationSave(
PushNotificationRequest pushNotificationRequest
)
Parameters
- pushNotificationRequest PushNotificationRequest
-
Return Value
Boolean
Example
Sample request including minimum data needed to be able to process the request in LS Commerce
{
"pushNotificationRequest": {
"Application": 1,
"Body": "Your order is ready for collection",
"DeviceId": "fWc8sX1qP0k:APA91bF...device-registration-token...",
"Id": "",
"Platform": 1,
"Status": 1,
"Title": "Order Ready"
}
}
See Also