Click or drag to resize

IUCServicePushNotificationSave Method

Register a device to receive Push Notifications, or update the registration and its enabled/disabled status

Namespace: LSOmni.Service
Assembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntax
C#
bool PushNotificationSave(
	PushNotificationRequest pushNotificationRequest
)

Parameters

pushNotificationRequest  PushNotificationRequest
 

Return Value

Boolean
Example
This Sample request can be used in SOAP UI application to send request to LS Commerce.

Include minimum data needed to be able to process the request

SOAP Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://lsretail.com/LSOmniService/EComm/2017/Service" xmlns:ns="http://lsretail.com/LSOmniService/Base/2017" xmlns:ns1="http://lsretail.com/LSOmniService/Loy/2017">
  <soapenv:Header/>
  <soapenv:Body>
     <ser:PushNotificationSave>
        <ser:pushNotificationRequest>
           <ns:Application>Loyalty</ns:Application>
           <ns:Body>Your order is ready for collection</ns:Body>
           <ns:DeviceId>fWc8sX1qP0k:APA91bF...device-registration-token...</ns:DeviceId>
           <ns:Id></ns:Id>
           <ns:Platform>Apple</ns:Platform>
           <ns:Status>Enabled</ns:Status>
           <ns:Title>Order Ready</ns:Title>
        </ser:pushNotificationRequest>
     </ser:PushNotificationSave>
  </soapenv:Body>
</soapenv:Envelope>
See Also