Click or drag to resize

IBOJsonOrderMessageStatusUpdate Method

Send Order Status to ECOM platform and Notifications to Devices

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.6
Syntax
C#
bool OrderMessageStatusUpdate(
	OrderMessageStatus orderMessage
)

Parameters

orderMessage
Type: LSRetail.Omni.Domain.DataModel.Loyalty.OrdersOrderMessageStatus

Return Value

Type: Boolean
Remarks
Notifications are only sent if MsgSubject/Details are provided, if not only status data will be sent to ECom
Examples
Sample request
REST Sample Request
{
    "orderMessage": {
        "OrderId": "CO000001",
        "CardId": "10021",
        "HeaderStatus": "OPEN",
        "MsgSubject": "your order 001",
        "MsgDetail": "is ready for delivery",
        "Lines":
        [{
                "LineNo": "1",
                "PrevStatus": "OPEN",
                "NewStatus": "PICKING"
            }, {
                "LineNo": "2",
                "PrevStatus": "OPEN",
                "NewStatus": "PACKING"
            }
        ]
    }
}
See Also