There is in app links for Cart and Purchase history page and you will get the value id from there and you can use same value id to create in app links to store and product page.
Examples for In App Link Module –
Store Page
commercepro-store-product-list~value_id:7,store_id:1
Product Page
commercepro-product-view~value_id:7,product_id:1
Examples for Source Code
Store Page
<a data-offline=”false” data-params=”value_id:7,store_id:1″ data-state=”commercepro-store-product-list”>Store Name</a>
Product Page
<a data-offline=”false” data-params=”value_id:7,product_id:1″ data-state=”commercepro-product-view”>Product Name</a>
Replace value_id and store_id.
Ravindra Edited answer