action
Common Object
Destination values
type • enum required
type • enum requiredThe type of destination. Accepts screen and web as values
screen and web as valuesdata • object
data • objectThe id of the screen id of the destination
id of the destinationUse the destination to support interactions that add 1 or more products to the cart.
{
"type": "open/screen",
"data": {
"destination": {
"type": "screen",
"id": "9M5lEgg5up"
},
"presentation": {
"transition": "default",
"style": "default"
}
}
}
Navigating to known screens usingtypeUpon invoking the
addToCartfunction, the app will reference this setting to determine if the user should be automatically navigated to the cart, or left where they are.
Updated 5 months ago
