API Reference

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 product
  • upc (string): The Universal Product Code
  • storeId (number): The unique identifier for the store