Answers to Your Questions
What are the main command lines for e-mail orders ?
Below is a summary of all the command lines that can be used via the e-mail ordering system.The fields to be included in e-mails are:
Reseller
| Command | Description | Format | Example | Required |
| reseller_handle | Gandi handle of the reseller | /^[a-zA-Z0-9-]+$/ | ABCD1323-GANDI | required |
Owner
| Command | Description | Format | Example | Required |
| owner_handle | Gandi handle of the owner | /^[a-zA-Z0-9-]+$/ | new_handle | same_as_admin | same_as_billing | same_as_tec | AR41-GANDI | yes |
| owner_type | type of contact | societe | particulier | company | individual | individual | yes |
| owner_organization | name of the organization (company...) | /^[ &,+'A-Za-z0-9\._\#\/-]*$/ | Inter Corp SARL | yes |
| owner_firstname | First name of the owner or primary contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | John | yes |
| owner_lastname | Last name of the owner or primary contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | Doe | yes |
| owner_brand | trademark registration number | /^[0-9]*[A-Za-z]*[0-9]+$/ | EM162099 | for .fr domains |
| owner_siret | SIRET registration number | /^[0-9]{9}$/ || /^[0-9]{14}$/ | 123456789 | for .fr domains |
| owner_birthdep | French département of birth (99 if not born in France) | /^[0-9]{2,3}$/ | 99 | for .fr domains for individuals |
| owner_birthcity | city of birth | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | Arrazi | for .fr domains for individuals |
| owner_birthdate | date of birth | /^([0-9]{4})[-\/]([0-9]{1,2}) [-\/]([0-9]{1,2})/ && must be over 18 | 02/02/79 | for .fr domains for individuals |
| owner_birthcountry | country of birth | 2-letter ISO country code | US | for .fr domains for individuals |
| owner_address-1 | address of the owner | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | 1701 Fairchild Avenue | yes |
| owner_address-2 | additional address information | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | no | |
| owner_address-3 | additional address information | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | no | |
| owner_city | city | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | Iowa City | yes |
| owner_postal-code | postal code | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | 52245 | yes |
| owner_country | country | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | US | yes |
| owner_email | e-mail address | /^(.+)@(.+)$/ | myname@myemail.com | yes |
| owner_phone | phone number | /^[ \.\(\)\[\]A-Za-z0-9\\,+&\#\/:;-]*$/ | +1.5551231234 | yes |
| owner_fax | fax | /^[ \.\(\)\[\]A-Za-z0-9\\,+&\#\/:;-]*$/ | +1.5551231234 | no |
Administrative Contact
| Command | Description | Format | Example | Required |
| admin_handle | Gandi handle of the administrative contact | /^[a-zA-Z0-9-]+$/ or new_handle or same_as_admin or same_as_tech ou same_as_billing | AR41-GANDI | yes |
| ad_name | First and last name of the administrative contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | John Doe | yes |
| ad_address | address of the administrative contract | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | 123 Alphabet Street | yes |
| ad_address-2 | additional address information | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | no | |
| ad_address-3 | additional address information | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | no | |
| ad_postal-code | postal code of the administrative contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | 41200 | yes |
| ad_city | city of the administrative contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | Bill Shakesapple | yes |
| ad_country | country of the administrative contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | FR | yes |
| ad_phone | phone number of the administrative contact | /^[ \.\(\)\[\]A-Za-z0-9\\,+&\#\/:;-]*$/ | +1.5553214321 | yes |
| ad_fax | fax of the administrative contact | /^[ \.\(\)\[\]A-Za-z0-9\\,+&\#\/:;-]*$/ | +1.5553214321 | no |
| ad_email | e-mail address of the administrative contact | /^(.+)@(.+)$/ | willybill@yeoldeplaywrites.co.uk | yes |
| ad_password | password of the administrative contact | /^[\020-\177]+$/ | S3LsmPLA | no |
Billing Contact
| Command | Description | Format | Example | Required |
| admin_handle | Gandi handle of the Administrative Contact | /^[a-zA-Z0-9-]+$/ or new_handle or same_as_admin or same_as_tech ou same_as_billing | WS212-GANDI | yes |
| bl_name | First and last name of the billing contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | Peter Pansson | yes |
| bl_address | address of the billing contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | 1 Leftstar Way | yes |
| ad_address-2 | additional address information | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | no | |
| ad_address-3 | additional address information | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | no | |
| bl_postal-code | postal code of the billing contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | 12345 | yes |
| bl_city | city of the billing contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | Neverville | yes |
| bl_country | country of the billing contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | SE | yes |
| bl_phone | phone number of the billing contact | /^[ \.\(\)\[\]A-Za-z0-9\\,+&\#\/:;-]*$/ | +46.737644321 | yes |
| bl_fax | fax number of the billing contact | /^[ \.\(\)\[\]A-Za-z0-9\\,+&\#\/:;-]*$/ | +46.737644320 | no |
| bl_email | e-mail address of the billing contact | /^(.+)@(.+)$/ | pansson.p@nevermail.se | yes |
| bl_password | password of the billing contact | /^[\020-\177]+$/ | PaSsWoRd | no |
Technical Contact
| Command | Description | Format | Example | Required |
| tech_handle | Gandi handle of the Technical Contact | /^[a-zA-Z0-9-]+$/ or new_handle or same_as_admin or same_as_tech or same_as_billing | DS898-GANDI | Yes |
| tc_name | First and last name of the billing contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | Dude Sterman | yes |
| tc_address | address of the technical contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | 123 Paevid Road | yes |
| ad_address-2 | additional address information | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | no | |
| ad_address-3 | additional address information | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | no | |
| tc_postal-code | postal code of the technical contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | 85210 | yes |
| tc_city | city of the technical contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | st jean de beugne | yes |
| tc_country | country of the technical contact | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | FR | yes |
| tc_phone | phone number of the technical contact | /^[ \.\(\)\[\]A-Za-z0-9\\,+&\#\/:;-]*$/ | +33.123456789 | yes |
| tc_fax | fax number of the technical contact | /^[ \.\(\)\[\]A-Za-z0-9\\,+&\#\/:;-]*$/ | +33.123456789 | no |
| tc_email | e-mail address of the technical contact | /^(.+)@(.+)$/ | dudster@chouettemail.fr | yes |
| tc_password | password of the technical contact | /^[\020-\177]+$/ | YouKnowMe | no |
Nameservers (DNS)
| Command | Description | Format | Example | Required |
| ns-ip-address-X * | IP address of the nameserver | IP address | 195.145.14.12 | yes |
| ns-domain-name-X * | name of the nameserver | nameserver | ns6.gandi.net | yes |
| * : where X is from 0 to 9 |
Domain Name
| Command | Description | Format | Example | Required |
| domains-X * | domain name(s) to be created | fr|eu|be|biz|info|name|org|com|net | societe.eu | yes |
| langdomains-X * | language of the domain | /^[ ,'A-Za-z0-9\._\#\/-]*$/ | FRE | for IDNs |
| eppkey-X * | authorization key for transfers | length between 6 and 16 characters | gandigandi | yes if transferring biz|info|name|org |
| lock-X * | domain name lock | yes|no | yes/no | no |
Divers
| Command | Description | Format | Exemple | Required |
| period | number of years to be renewed | /^[0-9]+$/ | 1 | no |
| action | action to be taken | create | renew | transfer | create | yes |
| current_year | year of renewal | /^\d\d\d\d$/ | 2006 | no |
Customer Care
Do you need more information on this topic?, Contact Gandi Customer Care
Error
Have you spotted an error in this answer, or think that it is outdated? You may start a support ticket, and our Customer Care staff will update it as soon as possible.
Note: No support request sent to this e-mail address will be replied to. To contact Customer Care, please use our online form.





Support
See what solutions have been found, and what the Gandi community has to offer in the GandiGroups! 








