This is an endpoint to send your data to our server. This endpoint will help us to give list of popular products. If you are using our search-widget and want to show some data before the user type, you have to hit this api, because we use popular product to be showed in our search-widget. If you dont use our search-widget, you can use list of popular products to show some products in home page, or if you dont want to use it, you can ignore this api. When user in product view, you have to send both the session ID and the search ID.
|event||String||The name of event (use 'productView' for productView data)|
| token||String||Token id (token from the cleint panel's search layer)|
| sessionId||String||Session id of the user|
| productId||String||Unique id of the products (product id from your site)|
Request Body Example
|success||Boolean||Request was successful|
Success Response Example