Typescript
import { Vercel } from "@vercel/sdk"; const vercel = new Vercel({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>", }); async function run() { const result = await vercel.domainsRegistrar.buySingleDomain({ domain: "metallic-simple.com", requestBody: { autoRenew: false, years: 7602.67, expectedPrice: 7390.34, contactInformation: { firstName: "Lexie", lastName: "Lemke", email: "Lionel21@gmail.com", phone: "550.220.6330 x258", address1: "<value>", city: "Spencerport", state: "West Virginia", zip: "46432", country: "Sweden", }, }, }); console.log(result); } run();
{ "orderId": "<string>", "_links": {} }
Buy a domain
Default authentication mechanism
Represents a monetary amount in USD dollars
x >= 0.01
Show child attributes
Success