POST purchase/renew
Requests the purchase of a domain renewal for a domain within the current account.
Request Information
URI Parameters
None.
Body Parameters
A purchase request.
DomainPurchaseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainName | string |
None. |
|
| Years | integer |
None. |
|
| CategoryId | integer |
None. |
|
| CategoryName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DomainName": "example.com",
"Years": 2,
"CategoryId": 0,
"CategoryName": null
}
application/x-www-form-urlencoded
Sample:
DomainName=example.com&Years=2&CategoryId=0&CategoryName=
Response Information
Resource Description
A response containing order tracking information.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"OrderId": 1209334,
"TotalPrice": 16.06,
"OrderItems": [
{
"OrderItemId": 234231,
"OrderId": 1209334,
"ProductText": "example.com",
"TotalPrice": 16.06
}
]
}
