RESELLER.CUSTOMER.ADD - API CALL
|
|
|
RESELLER.CUSTOMER.ADD - creates a new customer in reseller platform.
|
|
Description
|
|
RESELLER.CUSTOMER.ADD is used to create a new customer in your reseller account.
|
|
Arguments
|
|
PACKAGE.ID
Required. API Package ID of the custom Subscription Package configured in your reseller account.
|
|
Example:
<PARAMETER NAME="PACKAGE.ID">MYPACKAGE</PARAMETER>
|
|
|
NAME.FIRST
Required. First name of the account holder.
|
|
Example:
<PARAMETER NAME="NAME.FIRST">Frank</PARAMETER>
|
|
|
NAME.LAST
Required. Last name of the account holder.
|
|
Example:
<PARAMETER NAME="NAME.LAST">Smith</PARAMETER>
|
|
|
EMAIL
Required. Email of the account holder.
|
|
Example:
<PARAMETER NAME="EMAIL">frank@domain.com</PARAMETER>
|
|
|
PASSWORD
Required. Password of the account holder.
|
|
Example:
<PARAMETER NAME="PASSWORD">SECRETPASSWORD</PARAMETER>
|
|
|
COUNTRY.NAME
Required. A country of residence of the account holder.
|
|
Example:
<PARAMETER NAME="COUNTRY.NAME">CANADA</PARAMETER>
|
|
|
CITY
Required. A city of residence of the account holder.
|
|
Example:
<PARAMETER NAME="CITY">MY CITY</PARAMETER>
|
|
|
COMPANY
Required. A company name of the account holder.
|
|
Example:
<PARAMETER NAME="COMPANY">MY BUSINESS NAME</PARAMETER>
|
|
|
TIMEZONE
Required. A timezone for the account. Please see a list of Timezones below.
|
|
Example:
<PARAMETER NAME="TIMEZONE">UTC</PARAMETER>
|
|
Africa/Algiers
Africa/Cairo
Africa/Casablanca
Africa/Ceuta
Africa/Djibouti
Africa/Freetown
Africa/Johannesburg
Africa/Khartoum
Africa/Mogadishu
Africa/Nairobi
Africa/Nouakchott
Africa/Tripoli
Africa/Tunis
Africa/Windhoek
America/Adak
America/Anchorage
America/Anguilla
America/Araguaina
America/Aruba
America/Asuncion
America/Atka
America/Belem
America/Boa_Vista
America/Bogota
America/Boise
America/Buenos_Aires
America/Cambridge_Bay
America/Cancun
America/Caracas
America/Cayenne
America/Cayman
America/Chicago
America/Chihuahua
America/Costa_Rica
America/Cuiaba
America/Curacao
America/Dawson
America/Dawson_Creek
America/Denver
America/Detroit
America/Edmonton
America/El_Salvador
America/Ensenada
America/Fort_Wayne
America/Fortaleza
America/Godthab
America/Goose_Bay
America/Grand_Turk
America/Guadeloupe
America/Guatemala
America/Guayaquil
America/Halifax
America/Havana
America/Indiana/Indianapolis
America/Indiana/Knox
America/Indiana/Marengo
America/Indiana/Vevay
America/Indianapolis
America/Inuvik
America/Iqaluit
America/Jamaica
America/Juneau
America/Knox_IN
America/La_Paz
America/Lima
America/Los_Angeles
America/Louisville
America/Maceio
America/Managua
America/Manaus
America/Martinique
America/Mazatlan
America/Mexico_City
America/Miquelon
America/Montevideo
America/Montreal
America/Montserrat
America/New_York
America/Nome
America/Noronha
America/Panama
America/Phoenix
America/Porto_Acre
America/Porto_Velho
America/Puerto_Rico
America/Rankin_Inlet
America/Regina
America/Rio_Branco
America/Santiago
America/Sao_Paulo
America/Scoresbysund
America/Shiprock
America/St_Johns
America/St_Thomas
America/Swift_Current
America/Tegucigalpa
America/Thule
America/Thunder_Bay
America/Tijuana
America/Tortola
America/Vancouver
America/Virgin
America/Whitehorse
America/Winnipeg
America/Yellowknife
Arctic/Longyearbyen
Asia/Aden
Asia/Almaty
Asia/Almaty
Asia/Amman
Asia/Anadyr
Asia/Aqtau
Asia/Aqtobe
Asia/Baghdad
Asia/Bahrain
Asia/Baku
Asia/Bangkok
Asia/Beirut
Asia/Bishkek
Asia/Calcutta
Asia/Chongqing
Asia/Chungking
Asia/Dacca
Asia/Damascus
Asia/Dhaka
Asia/Dubai
Asia/Gaza
Asia/Harbin
Asia/Hong_Kong
Asia/Irkutsk
Asia/Istanbul
Asia/Jakarta
Asia/Jayapura
Asia/Jerusalem
Asia/Kabul
Asia/Kamchatka
Asia/Karachi
Asia/Kashgar
Asia/Krasnoyarsk
Asia/Kuala_Lumpur
Asia/Kuching
Asia/Kuwait
Asia/Macao
Asia/Macau
Asia/Magadan
Asia/Makassar
Asia/Manila
Asia/Muscat
Asia/Nicosia
Asia/Novosibirsk
Asia/Omsk
Asia/Qatar
Asia/Rangoon
Asia/Riyadh
Asia/Saigon
Asia/Seoul
Asia/Shanghai
Asia/Singapore
Asia/Taipei
Asia/Tashkent
Asia/Tbilisi
Asia/Tehran
Asia/Tel_Aviv
Asia/Tokyo
Asia/Ujung_Pandang
Asia/Urumqi
Asia/Vladivostok
Asia/Yakutsk
Asia/Yekaterinburg
Asia/Yerevan
Atlantic/Azores
Atlantic/Bermuda
Atlantic/Canary
Atlantic/Faeroe
Atlantic/Madeira
Atlantic/Reykjavik
Atlantic/St_Helena
Atlantic/Stanley
Australia/ACT
Australia/Adelaide
Australia/Brisbane
Australia/Broken_Hill
Australia/Canberra
Australia/Darwin
Australia/Hobart
Australia/LHI
Australia/Lindeman
Australia/Lord_Howe
Australia/Melbourne
Australia/NSW
Australia/North
Australia/Perth
Australia/Queensland
Australia/South
Australia/Sydney
Australia/Tasmania
Australia/Victoria
Australia/West
Australia/Yancowinna
Brazil/Acre
Brazil/DeNoronha
Brazil/East
Brazil/West
Canada/Atlantic
Canada/Central
Canada/East-Saskatchewan
Canada/Eastern
Canada/Mountain
Canada/Newfoundland
Canada/Pacific
Canada/Saskatchewan
Canada/Yukon
Chile/Continental
Chile/EasterIsland
Cuba
Egypt
Eire
Etc/GMT+1
Etc/GMT+12
Etc/GMT+2
Europe/Amsterdam
Europe/Athens
Europe/Belfast
Europe/Belgrade
Europe/Berlin
Europe/Bratislava
Europe/Brussels
Europe/Bucharest
Europe/Budapest
Europe/Copenhagen
Europe/Dublin
Europe/Gibraltar
Europe/Helsinki
Europe/Istanbul
Europe/Kaliningrad
Europe/Kiev
Europe/Lisbon
Europe/Ljubljana
Europe/London
Europe/Luxembourg
Europe/Madrid
Europe/Minsk
Europe/Monaco
Europe/Moscow
Europe/Oslo
Europe/Paris
Europe/Prague
Europe/Riga
Europe/Rome
Europe/Samara
Europe/San_Marino
Europe/Sarajevo
Europe/Simferopol
Europe/Skopje
Europe/Sofia
Europe/Stockholm
Europe/Tallinn
Europe/Tirane
Europe/Vatican
Europe/Vienna
Europe/Vilnius
Europe/Warsaw
Europe/Zagreb
Europe/Zurich
Greenwich
Hongkong
Iceland
Indian/Chagos
Indian/Christmas
Indian/Cocos
Indian/Mayotte
Indian/Reunion
Iran
Israel
Jamaica
Japan
Kwajalein
Libya
Mexico/BajaNorte
Mexico/BajaSur
Mexico/General
Navajo
PRC
Pacific/Auckland
Pacific/Chatham
Pacific/Easter
Pacific/Fakaofo
Pacific/Fiji
Pacific/Gambier
Pacific/Guam
Pacific/Honolulu
Pacific/Johnston
Pacific/Kiritimati
Pacific/Kwajalein
Pacific/Marquesas
Pacific/Midway
Pacific/Niue
Pacific/Norfolk
Pacific/Noumea
Pacific/Pago_Pago
Pacific/Pitcairn
Pacific/Rarotonga
Pacific/Saipan
Pacific/Samoa
Pacific/Tahiti
Pacific/Tongatapu
Pacific/Wake
Pacific/Wallis
Poland
Portugal
Singapore
Turkey
US/Alaska
US/Aleutian
US/Arizona
US/Central
US/East-Indiana
US/Eastern
US/Hawaii
US/Indiana-Starke
US/Michigan
US/Mountain
US/Pacific
US/Pacific-New
US/Samoa
UTC
|
|
|
NOTES
Optionsl. Internal notes for the customer. Notes will NOT be visible to the actual user!
|
|
Example:
<PARAMETER NAME="NOTED">My internal notes</PARAMETER>
|
|
|
Response
|
|
If operation is successful then RESULT will contain account number of the newly created customer.
|
|
API Request Example
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>YOURUSERKEY1891e2e883904b0b894dc5b679c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="RESELLER.CUSTOMER.ADD">
<PARAMETER NAME="PACKAGE.ID">MYPACKAGE</PARAMETER>
<PARAMETER NAME="NAME.FIRST">First Name</PARAMETER>
<PARAMETER NAME="NAME.LAST">Last Name</PARAMETER>
<PARAMETER NAME="COUNTRY.NAME">CANADA</PARAMETER>
<PARAMETER NAME="CITY">TORONTO</PARAMETER>
<PARAMETER NAME="COMPANY">MY COMPANY</PARAMETER>
<PARAMETER NAME="EMAIL">email@domain.com</PARAMETER>
<PARAMETER NAME="TIMEZONE">UTC</PARAMETER>
</ACTION>
</REQUEST>
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>123123123</RESULT>
</RESPONSE>
|
|
Please remember that XML is CASE SENSITIVE. All ANVEO API XML tags and attributes should be in upper case.
|
|