PatchUpdate customer
Method for editing the customer's information. You can update customer by its ID and set values to different fields.
https://api.minerstat.com/v2/customer
Parameters
Parameter
Type
Description
Required
user
int
User's ID.
Required
set
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"
}