Commerce Service
// To use the commerce service, you must subscribe to it from your application
var commerceService = SYMPHONY.services.subscribe("commerce");getProducts()
function getProducts(serviceName){
name: "<name>",
type: "premium",
sku: "<sku>",
subscribed: true/false
}commerceService.getProducts('hello:controller').then(function(products) {
console.log(products);
});productUpdate
Last updated
Was this helpful?