create a form that use api to give a sub account to custmer
Posted: Tue May 10, 2016 5:51 am
i need to create a a form in my wesitethat use api to give the possibility who buy an our sub account to create it self.. i have seen the script api jason:
{
"authentication": {
"apiKey": "apiKeyAsSetInAccountSettings"
},
"createAccount": [
{
"username": "username",
"password": "password",
"apiKey": "YourKeyToUseForTheNewAccount",
"email": "[email protected]",
"role": "0"
}
]
}
but this maybe create an account i need to create a sub account because we are a reseller .
can you say me if is possible and how i combine this script to put in a form?
{
"authentication": {
"apiKey": "apiKeyAsSetInAccountSettings"
},
"createAccount": [
{
"username": "username",
"password": "password",
"apiKey": "YourKeyToUseForTheNewAccount",
"email": "[email protected]",
"role": "0"
}
]
}
but this maybe create an account i need to create a sub account because we are a reseller .
can you say me if is possible and how i combine this script to put in a form?