Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.92 KB

catalog_product_custom_option_value.md

File metadata and controls

65 lines (46 loc) · 1.92 KB

Catalog Product Custom Option Value

Allows you to add a new custom option value to a custom option.

Note that the custom option value can be added only to the option with the Select Input Type.

data is a catalogProductCustomOptionValueAdd object.

magentoAPI.catalogProductCustomOptionValue.add({
  optionId:   val,
  data:       val,
  storeView:  val   /* optional */
}, callback);

Allows you to retrieve full information about the specified product custom option value.

magentoAPI.catalogProductCustomOptionValue.info({
  valueId:    val,
  storeView:  val   /* optional */
}, callback);

Allows you to retrieve the list of product custom option values.

Note that the method is available only for the option Select Input Type.

magentoAPI.catalogProductCustomOptionValue.list({
  optionId:   val,
  storeView:  val   /* optional */
}, callback);

Allows you to remove the custom option value from a product.

magentoAPI.catalogProductCustomOptionValue.remove({
  valueId: val
}, callback);

Allows you to update the product custom option value.

data is a catalogProductCustomOptionValueUpdateEntity object.

magentoAPI.catalogProductCustomOptionValue.update({
  valueId:    val,
  data:       val,
  storeView:  val   /* optional */
}, callback);