POST /v5/domains/buy
This endpoint is deprecated and replaced with the endpoint Buy a domain. Purchases the specified domain.
Servers
- https://api.vercel.com
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
teamId |
String | No |
The Team identifier to perform the request on behalf of. |
slug |
String | No |
The Team slug to perform the request on behalf of. |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
orgName |
String | No |
The company name of the domain registrant |
address1 |
String | Yes |
The street address of the domain registrant |
state |
String | Yes |
The state of the domain registrant |
city |
String | Yes |
The city of the domain registrant |
expectedPrice |
Number | No |
The price you expect to be charged for the purchase. |
postalCode |
String | Yes |
The postal code of the domain registrant |
name |
String | Yes |
The domain name to purchase. |
email |
String | Yes |
The email of the domain registrant |
renew |
Boolean | No |
Indicates whether the domain should be automatically renewed. |
lastName |
String | Yes |
The last name of the domain registrant |
phone |
String | Yes |
The phone number of the domain registrant |
firstName |
String | Yes |
The first name of the domain registrant |
country |
String | Yes |
The country of the domain registrant |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.