Update Market provider commission contact ID

This function sets the contact ID to which a cPanel Market provider will send commission.

SecurityBasicAuth
Request
query Parameters
commission_id
required
string

The cPanel Store ID to which to send cPanel Market commissions.

Example: commission_id=user@example.com
provider
required
string

The cPanel Market provider's name.

Example: provider=cPStore
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/set_market_provider_commission_id
Request samples
whmapi1 --output=jsonpretty \
  set_market_provider_commission_id \
  provider='cPStore' \
  commission_id='user@example.com'
Response samples
application/json
{
  • "metadata": {
    • "command": "set_market_provider_commission_id",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}