Are the IDs returned from the Webflow ecommerce webhooks globally unique or unique per site? Are there supported methods for identifying these elements on a page in a Webflow site, such as extracting the relevant ProductId?

Published on
September 22, 2023

The IDs returned from the Webflow ecommerce webhooks are unique per site, not globally unique. Each site in Webflow has its own set of unique IDs for the elements on the page, including the products in the ecommerce store.

To identify and extract the relevant ProductID on a page in a Webflow site, you can use the following methods:

  1. Webflow Designer: In the Webflow Designer, you can inspect the element by selecting it and checking its settings in the right-hand panel. The ProductID may be visible under the Product Settings or Custom Attributes section.

  2. Webflow Editor: When editing a page in the Webflow Editor, you can select the ecommerce element (e.g., a product) and view its settings in the sidebar. Look for the ProductID in the available fields.

  3. Webflow API: If you're working with the Webflow API, you can use the API to fetch the desired page and retrieve the ProductID directly from the API response. The ProductID will be present in the JSON response, and you can extract it using the relevant programming language or tool you're using.

It's important to note that the specific method for identifying and extracting the ProductID may vary based on your specific use case and the tools you're using to interact with Webflow. However, these methods should provide a good starting point for accessing the ProductID on a Webflow page.

Additional Questions:

  1. How do I access the settings of an ecommerce element in Webflow Designer?
  2. What is the difference between a globally unique ID and a site-specific ID in Webflow ecommerce?
  3. Can I customize the ProductID format in Webflow ecommerce?