Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.35 KB

catalog_product_tag.md

File metadata and controls

59 lines (42 loc) · 1.35 KB

Catalog Product Tag

Allows you to add one or more tags to a product.

data is a catalogProductTagAddEntity object

magento.catalogProductTag.add({
  data: val
}, callback);

Allows you to retrieve information about the required product tag.

magento.catalogProductTag.info({
  tagId:      val,
  storeView:  val
}, callback);

Allows you to retrieve the list of tags for a specific product.

magento.catalogProductTag.list({
  productId:  val,
  storeView:  val
}, callback);

Allows you to remove an existing product tag.

magento.catalogProductTag.remove({
  tagId: val
}, callback);

Allows you to update information about an existing product tag.

data is a catalogProductTagUpdateEntity object.

magento.catalogProductTag.update({
  tagId:      val,
  data:       val,
  storeView:  val   /* optional */
}, callback);