CreateFixedPriceSelectedOrder
Submits an order for a Buy It Now (Premium) domain name and automatically deducts the payment from the Alibaba Cloud account balance upon a successful call.
Operation description
-
Delivery of a Buy It Now (Premium) domain name is usually completed within 5 business days after payment. The domain name will be delivered to your account. In rare cases, the delivery may take more than 5 business days.
-
After payment, the order for a Buy It Now (Premium) domain name is in the Processing state. Refund requests are not supported for orders in this state.
-
You can view the order by choosing Console > Domain Names > Buyer > Purchased domain names. If the domain name is purchased successfully, the order status changes to Successful.
-
If the purchase fails, the payment will be refunded. After a successful purchase, you can apply for an invoice in the User Center.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
domain:FixPrice |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The Buy It Now (Premium) domain name to be purchased. |
example.com |
| Code |
string |
No |
The extended field. This parameter is not required. |
None |
| Source |
string |
No |
The source of the order. This parameter is optional. You can enter the name of the caller. |
partnername |
| ContactId |
string |
Yes |
The ID of the real-name verified registrant profile. After the domain name transaction is successful, the domain name will be transferred to this real-name verified domain name registrant profile. You can log on to https://dc.console.aliyun.com/next/index#/info-stencil/infoStencil to query or create a real-name verified registrant profile. |
11935401 |
| ExpectedPrice |
number |
Yes |
The expected purchase price. This price must be the same as the Price field returned by the CheckSelectedDomainStatus operation. This parameter is used to prevent inconsistencies between the domain name price queried by the price inquiry operation and the actual selling price when the order is placed, which may cause unexpected deductions. |
20.00 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResultDTO |
||
| RequestId |
string |
The unique request ID. |
C50E41A0-09F1-4491-8DB8-AF55BD2D0CC8 |
| Module |
object |
The response data. |
|
| OrderNo |
string |
The order number generated after the operation is successfully called. |
31199295f2074ce895645d386cb22c36 |
| Domain |
string |
The domain name. |
example.com |
| Price |
integer |
The deducted amount after the domain name is successfully purchased. |
20.00 |
| DomainBlockTrade |
array |
The list of domain names whose transactions are blocked. |
|
|
string |
The domain name whose transaction is blocked. |
test.com |
|
| BizIds |
object |
The list of business IDs. |
|
|
string |
The business ID. |
T2023122019031400**** |
|
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| ErrorCode |
string |
The error code. |
DomainNotOnSale |
| Success |
boolean |
Indicates whether the request is successful. |
True |
Examples
Success response
JSON format
{
"RequestId": "C50E41A0-09F1-4491-8DB8-AF55BD2D0CC8",
"Module": {
"OrderNo": "31199295f2074ce895645d386cb22c36",
"Domain": "example.com",
"Price": 20,
"DomainBlockTrade": [
"test.com"
],
"BizIds": {
"key": "T2023122019031400****"
}
},
"HttpStatusCode": 200,
"ErrorCode": "DomainNotOnSale",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InsufficientAccountBalance | Aliyun account balance is insufficient, unable to submit strictly selected domain name purchase. | Aliyun account balance is insufficient, unable to submit strictly selected domain name purchase |
| 400 | UnexpectedRealPrice | When placing an order, the selling price of the domain name does not match the expectation. | When placing an order, the selling price of the domain name does not match the expectation. |
| 400 | DomainNotOnSale | The domain name is not currently for sale. | Domain names are not currently for sale. |
| 400 | NotSelectedDomain | The domain name is not strictly selected goods. | |
| 400 | ParameterError | Parameter error. | Parameter error |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.