Customer accounts cannot create their own sub users or white labels. They are specifically for customers.
Submasters can create whitelabels, create pricing structures and create complete customer accounts. These are typically used for resellers.
GET or POST Request
https://v1.api19.com/account/create/customer
Create a new Customer account using /account/create/customer
GET or POST Request
https://v1.api19.com/account/create/submaster
Create a new Submaster account using /account/create/submaster
HTTP Post Variables Supported
Argument
Required
Type
login
yes
username (a-Z, 1-9)
email
yes
email address
name
yes
customer name
company
yes
company name
password
yes
password
rate_sheet
yes
rate sheet ID #
whitelabel
no
whitelabel ID #
key
yes
your API key
Get Whitelabel and Rate ID's
https://v1.api19.com/account/list/options
The /account/list/options command will return a json object with your whitelabel and rates ID numbers. You can also get them from the user portal. Prices are your ratesheets.
{"status":"ok", "user_id":330022}
OR
{"status":"error","error":"test_login is already taken"}
OR
{"status":"error","error":"Login tes is not 4 characters long"}
OR
{"status":"error","error":"Account password contains characters not allowed: x"}