minerstat for developersversion 2.0

Patch
Update customer

Method for editing the customer's information.

/v2/customer

Edit the customer(s)' information and settings.

Parameters

Parameter
Type
Description
Requireduser
int
User's ID.
Requiredset
object{}
The object of information you want to set for the customer.
 set.value
string
Information you are requesting. Possible values: name email packageName packageWorkers packageExpiry

Example call

{"user":1337,"set":{"packageName":"Tier 10", "packageWorker":10}}

Example response

{
 "message": "Customer successfully updated"
}