post_create_subaccount
 
 
Overview
Creates a sub account linked to a Reseller or Corporate account
 
Parameters
 
NameTypeRequiredComments
Address1StringNoThe address of the account holder
Address2StringNoAdditional address details of account holder
APIPasswordStringNoAlthough the APIPassword is not required, it is recommended that it is set, and set to a different password than the account's password. If the password is not specified, the NewPassword value will be taken by default
BuyCreditsBitNoSpecifies if the account can buy credits directly from GraphicMail
  0 = (Default). Cannot by credits directly from GraphicMail
  1 = Can by credits directly from GraphicMail
ContactNumberStringNoThe telephone number of the account holder
CountryIDIntegerNoThe country id's can be found by calling the "get_countries" function
DragAndDropEnabledBooleanNoSpecify if you want the sub account to be able to use the Drag & Drop editor
EmailsNotViewableBooleanNoSpecify if you want the account to be able to view email addresses
NameStringNoThe first name of the account holder
NewPasswordStringYesThe account password
NewUsernameStringYesThe account username
NormalEmailCreditsIntegerNoSpecify if you want to move non-expire normal credits from the main reseller or corporate account to the sub account
OrganizationStringNoThe company/organization name of the account holder
PostalCodeStringNoThe postal code of the account holder
ReplenishCreditsBooleanNoSpecify if you want the sub account to automatically replenish its credits from the main account. (Corporate accounts only)
SelectTemplatesBooleanNoSpecify if you want sub accounts to be able to select templates
ShareApiIPsBooleanNoSpecify this if you want the sub account to use the trusted IP's of the main account in addition to the trusted IP's specified in the sub account itself
ShareDatasetsBooleanNoSpecify if you want the sub account to be able to share datasets with the main reseller or corporate account
ShareFooterBooleanNoSpecify if you want the sub account to inherit the main account footer
ShareImagesBooleanNoSpecify if you want the sub account to be able to share images with the main reseller or corporate account
ShareListsBooleanNoSpecify if you want the sub account to be able to share mailing lists with the main reseller or corporate account
ShareTemplatesBooleanNoSpecify if you want the sub account to be able to share templates with the mail reseller or corporate account
ShowProfileBooleanNoSpecify if you want the sub account to be able to edit his profile
SMSEnabledBooleanNoSpecify "true" if you want sms/texting to be enabled for the sub account
StatsOnlyBooleanNoSpecify if you want the sub account to able to view only statistics
SurnameStringNoThe surname of the account holder
WebsiteURLStringNoThe website of the account holder
Returns
0|Error (Different descriptions for the error)
1|SubAccount successfully registered
Example
https://www.graphicmail.com/api.aspx?Username=user@mydomain.com&Password=123456&Function=post_create_subaccount&NewUsername=new@mydomain.com&NewPassword=123&Name=newname&Surname=newsurname&Address1=Here&Address2=There&Organization=mycompany&WebsiteURL=www.website.com&ContactNumber=02123123123