Allows you to add a new link to a downloadable product.
resource
is a catalogProductDownloadableLinkAddEntity object.
magento.catalogProductDownloadableLink.add({
productId: val,
resource: val,
resourceType: val
storeView: val /* optional */
}, callback);
Allows you to retrieve a list of links of a downloadable product.
magento.catalogProductDownloadableLink.list({
productId: val,
storeView: val /* optional */
}, callback);
Allows you to remove a link/sample from a downloadable product.
magento.catalogProductDownloadableLink.remove({
linkId: val
}, callback);