Retail/Ecommerce Apps
When the user needs to be taken to the detail/view page of product content. The app should handle the edge cases. For example-
- Invalid product/item id.
- If the user is not allowed to go to the item’s detail page (maybe because the user is not logged in)
When the user needs to be taken to a category page which lists all the items of that category. You should take care of the edge cases. For example-
- Invalid category id.
- If the user is not allowed to go to the screen (maybe because the user is not logged in).
Key | Value | Description |
---|---|---|
actionType | VIEW_CATEGORY | Type of action to be performed. |
category | Category | the object of the item which holds categoryID, Name. It is similar to an item sent via View Category event or via CMS. |
When the user needs to be taken to the detail/view page of product content. The app should handle the edge cases. For example-
- Invalid product/item id.
- If the user is not allowed to go to the item’s detail page (maybe because the user is not logged in)
When some coupon code needs to be applied to the cart of the user. The app should take care of the different scenarios. For example-
- Check the validity of the coupon.
- Handle the scenario where there are no items in the cart.
- Handle the scenario when the user is not logged-in.
Key | Value | Description |
---|---|---|
actionType | APPLY_COUPON | Type of action to be performed. |
coupon | Coupon | Object of Coupon which contain couponID, Code. |
Open the search view and apply the given filters.