Can I opening a lightbox use wixlocation.to?

I’m wondering if it’s possible to open a lightbox use the wixLocation code to open the lightbox? Or is there a another way to do so?

Hi,
If you want to open and close the lightbox, check out the API here.
There is no possibility to open the lightbox using wix-location.

Thank you, it help