Returns the store ID.
Get store ID code example
var storeId = Ecwid.getOwnerId()
console.log(storeId);
// prints
// 1003
Subscribe to the Ecwid.OnAPILoaded
JS API event to ensure availability of this function.
Returns the store ID.
Get store ID code example
var storeId = Ecwid.getOwnerId()
console.log(storeId);
// prints
// 1003
Subscribe to the Ecwid.OnAPILoaded
JS API event to ensure availability of this function.