CreateFixedPriceSelectedOrder

Updated at:

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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.