https://api.shopstory.live/v3/streams?applicationId=<your client id>
https://<client-name.domain>/live/?wv=1#/translation/<translation-id>
https://<client-name.domain>/live/?wv=1&safe_area=1#/translation/<translation-id>
https://app.shopstory.live/<client-name>/?wv=1#/translation/<translation-id>
const PRODUCT = JSON.stringify({
name,
feedProductId,
feedProductGroupId,
url,
vendorCode,
});
window.webkit.messageHandlers['add-product'].postMessage(PRODUCT);
window.webkit.messageHandlers['open-product'].postMessage(PRODUCT);
const PRODUCT = JSON.stringify({
name,
feedProductId,
feedProductGroupId,
url,
vendorCode,
});
window.shopstory.addProduct(PRODUCT);
window.shopstory.openProduct(PRODUCT);