This function sets an attribute for a cPanel Market provider's product.
attribute required | string The attribute of the cPanel Market provider's product. Note Attributes vary between cPanel Market providers and products. Example: attribute=price |
product_id required | string The cPanel Market provider product's name. Example: product_id=12345 |
provider required | string The cPanel Market provider's name. Example: provider=cPStore |
value required | string The value to set for the attribute. Example: value=6.00 |
object |
whmapi1 --output=jsonpretty \ set_market_product_attribute \ provider='cPStore' \ product_id='12345' \ attribute='price' \ value='6.00'
{- "metadata": {
- "command": "set_market_product_attribute",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}