Get Ecwid store ID
Ecwid.getOwnerId()
Ecwid.getOwnerId()
This method allows you to receive the store ID. Works on any opened storefront page.
Code example:
var storeId = Ecwid.getOwnerId()
console.log(storeId);
// prints
// 1003
Last updated
Was this helpful?