Products — Close Product List
The LiSA Player dispatches a message when a user closes the product list.
This message is sent by the LiSA Player to the host app / environment.
Properties
Along with all standard Message properties, a Close Product List message includes the following additional properties:
auxiliaryData
Required.
The auxiliaryData property is an object that holds additional metadata related to the close product list event.
Please refer to AuxiliaryData for detailed information.
mediaItemId
Required.
The mediaItemId property uniquely identifies the Media Item from which this message originates.
mediaItemType
Required.
The mediaItemType property specifies the type of Media Item from which this message originates.
Refer to MediaItemType for detailed information.
messageType
Required.
lsc:products:close
Type Definition
interface ProductListCloseMessage extends Omit<
Message,
'messageType' | 'sender'
> {
auxiliaryData: ProductListAuxiliaryData;
mediaItemId: string;
mediaItemType: MediaItemType;
messageType: 'lsc:products:close';
sender: 'LiSA';
}ProductListAuxiliaryData
ProductListAuxiliaryDataproducts
Required.
The products field specifies a map of product identifiers, where each key represents the external or merchant-specific identifier for the product and its corresponding value represents the LiSA internal product identifier.
Examples
Last updated