Creates or updates a domain name registrant profile.

Description

A registrant profile contains the information about the relevant domain name registrant. When you create or modify a registrant profile, we recommend that you specify the latest registrant information. When you specify registrant information, we recommend that you use lowercase letters to facilitate information review for the domain name registry. For more information about the requirements on the information to specify, see the parameter description in the following table.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SaveRegistrantProfile

The operation that you want to perform.Set the value to SaveRegistrantProfile.

RegistrantProfileType String No common

The type of the registrant profile. Valid values:

  • common: common profile
  • cnnic: China Internet Network Information Center (CNNIC) profile
Note You can create and manage a CNNIC profile only on the Alibaba Cloud international site (alibabacloud.com). You must use a CNNIC profile to manage specific domain names, such as .cn, from the CNNIC registrar. For other domain names, you can use a common profile.
RegistrantType String No 1

The type of the domain name registrant. Valid values:

  • 1: individual
  • 2: enterprise

Default value:1.

RegistrantProfileId Long No 3600000

The ID of the registrant profile to be modified. The system generates an ID after you create a registrant profile.

Note This parameter is required when you call the SaveRegistrantProfile operation to update a registrant profile. You can call the QueryRegistrantProfiles operation to query the ID of a created registrant profile. For more information, see QueryRegistrantProfiles.
RegistrantOrganization String No li si

The name of the domain name registrant.

RegistrantName String No li si

The name of the contact for the domain name.

Province String No zhe jiang

The province where the domain name registrant is located.

Note Omit the word sheng when you set this parameter. For example, if the registrant is located in Zhejiang Province, set this parameter to zhe jiang.
City String No hang zhou shi

The city where the domain name registrant is located.

Note Retain the word shi when you set this parameter. For example, if the registrant is located in Hangzhou, set this parameter to hang zhou shi.
Address String No zhe jiang sheng hang zhou shi shi li qu shi li zhen shi li da sha 1001 hao

The address of the domain name registrant.

Country String No CN

The code of the country or region where the domain name registrant is located,such as CN or US.

TelArea String No 86

The calling code of the country or region where the domain name registrant is located. For example, the calling code of China is 86.

Telephone String No 1829756****

The phone number of the domain name registrant.

TelExt String No 1234

The extension number of the registrant's phone number.

PostalCode String No 310024

The zip code of the region where the domain name registrant is located.

Email String No 82106****@qq.com

The email address of the domain name registrant.

DefaultRegistrantProfile Boolean No false

Specifies whether to set the registrant profile as the default profile. Valid values:

  • true
  • false

Default value: false.

Lang String No en

The language of the error message to return. Valid values:

  • zh: Chinese
  • en: English

Default value: en.

UserClientIp String No 127.0.0.1

The IP address of the client that you use to create or update the registrant profile.

Response parameters

Parameter Type Example Description
RegistrantProfileId Long 3600000

The ID of the registrant profile that was created or updated.

RequestId String D09B153B-294D-42F1-BB61-F1C72136DFD3

The ID of the request.

Examples

Sample requests

http(s)://domain.aliyuncs.com/? Action=SaveRegistrantProfile
&<Common request parameters>

Sample success responses

XML format

<SaveRegistrantProfileResponse>
      <RegistrantProfileId>3600000</RegistrantProfileId>
      <RequestId>D09B153B-294D-42F1-BB61-F1C72136DFD3</RequestId>
</SaveRegistrantProfileResponse>

JSON format

{
  "RegistrantProfileId": "3600000",
  "RequestId": "D09B153B-294D-42F1-BB61-F1C72136DFD3"
}

Error codes

For a list of error codes, visit the API Error Center.