wix product info

is there an api, wherein i can get product id when someone lands on that particular product page in wix store.
i checked the API document, but i could not find it, can anyone guide here?

I believe you want the getProduct() function of the Product Page .

thanks