Cart — View Cart
The LiSA Player generates a message whenever the Shopping Cart CTA is clicked.
This message is sent by the LiSA Player to the host app / environment.
Properties
Along with all standard Message properties, a View Cart message includes the following additional properties:
cartUrl
Optional.
The cartUrl property specifies the distinct URL of the Shopping Cart as configured in the Player Settings.
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:cart:view
progress
Required.
The progress property is an object that holds additional metadata related to the media playback progress of the current media item.
Please refer to MediaProgress for detailed information.
Legacy Properties
If your integration uses LiSA Player Version 1, none of the properties described above will be available.
For LiSA Player Version 2, legacy properties can be ignored.
action
Required.
view
⚠️ Please use messageType instead.
target
Required.
cart
⚠️ Please use messageType instead.
url
Required.
The url property specifies the distinct URL of the Shopping Cart as configured in the Player Settings.
⚠️ Please use cartUrl instead.
Type Definition
Examples
Last updated