This page documents how to programmatically open the Product Locator's product page for a specific UPC.
Initialize the API
To begin using the Product Locator API, please review the prerequisites and then declare a new instance:
const lclyPlApi = new LclyPlApi_0();
Launch Product Page
Opens the product page for a specific item.
lclyPlApi.launch_product({{ product_id }}, {{ upc }}, {{ store_id }});
Parameters:
productId
(number): The unique identifier for the productupc
(string): The Universal Product CodestoreId
(number): The unique identifier for the store