serviceid |
Number
|
|
The id of the client service to update |
pid |
Number
|
<optional>
|
The package id to associate with the service |
serverid |
Number
|
<optional>
|
The server id to associate with the service |
nextduedate |
String
|
<optional>
|
The next due date of the service (Y-m-d) |
terminationDate |
String
|
<optional>
|
Update the termination date of the service (Y-m-d) |
completedDate |
String
|
<optional>
|
Update the completed date of the service (Y-m-d) |
domain |
String
|
<optional>
|
The domain name to be changed to |
firstpaymentamount |
Number
|
<optional>
|
The first payment amount on the service |
recurringamount |
Number
|
<optional>
|
The recurring amount for automatic renewal invoices |
paymentmethod |
String
|
<optional>
|
The payment method to associate in system format (eg paypal) |
billingcycle |
String
|
<optional>
|
The term in which the product is billed on (eg One-Time, Monthly, Quarterly, etc) |
subscriptionid |
String
|
<optional>
|
The subscription ID to associate with the service |
status |
String
|
<optional>
|
The status to change the service to |
notes |
String
|
<optional>
|
The admin notes for the service |
serviceusername |
String
|
<optional>
|
The service username |
servicepassword |
String
|
<optional>
|
The service password |
overideautosuspend |
String
|
<optional>
|
Should override auto suspend be provided (‘on’ or ‘off’) |
overidesuspenduntil |
String
|
<optional>
|
Update the Override Suspend date of the service (Y-m-d) |
ns1 |
String
|
<optional>
|
(VPS/Dedicated servers only) |
ns2 |
String
|
<optional>
|
(VPS/Dedicated servers only) |
dedicatedip |
String
|
<optional>
|
|
assignedips |
String
|
<optional>
|
(VPS/Dedicated servers only) |
diskusage |
Number
|
<optional>
|
The disk usage in bytes |
disklimit |
Number
|
<optional>
|
The disk limit in bytes |
bwusage |
Number
|
<optional>
|
The bandwidth usage in bytes |
bwlimit |
Number
|
<optional>
|
The bandwidth limit in bytes |
overidesuspenduntil |
String
|
<optional>
|
|
suspendreason |
String
|
<optional>
|
|
promoid |
Number
|
<optional>
|
The promotion Id to associate |
unset |
Array
|
<optional>
|
An array of items to unset. Can be one of: ‘domain’, ‘serviceusername’, ‘servicepassword’, ‘subscriptionid’, ‘ns1’, ‘ns2’, ‘dedicatedip’, ‘assignedips’, ‘notes’, ‘suspendreason’ |
autorecalc |
Boolean
|
<optional>
|
Should the recurring amount of the service be automatically recalculated (this will ignore any passed $recurringamount) |
customfields |
String
|
<optional>
|
Base64 encoded serialized array of custom field values - base64_encode(serialize(array(“1”=>“Yahoo”))); |
configoptions |
String
|
<optional>
|
Base64 encoded serialized array of configurable option field values - base64_encode(serialize(array(configoptionid => dropdownoptionid, XXX => array(‘optionid’ => YYY, ‘qty’ => ZZZ)))) - XXX is the ID of the configurable option - YYY is the optionid found in tblhostingconfigoption.optionid - ZZZ is the quantity you want to use for that option |