Skip to main content

purchase_schemas

GoDaddy Domains v1 API. Accepts a Personal Access Token (Bearer) or a classic sso-key credential.

Overview​

Namepurchase_schemas
TypeResource
Idgodaddy.registration.purchase_schemas

Fields​

The following fields are returned by SELECT queries:

Request was successful

NameDatatypeDescription
idstring
modelsarray
propertiesarray
requiredarray

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselecttldReturns the JSON schema for the domain purchase request body for the specified TLD. Fetch before purchasing to identify required fields and TLD-specific constraints.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
tldstringThe Top-Level Domain whose schema should be retrieved

SELECT examples​

Returns the JSON schema for the domain purchase request body for the specified TLD. Fetch before purchasing to identify required fields and TLD-specific constraints.

SELECT
id,
models,
properties,
required
FROM godaddy.registration.purchase_schemas
WHERE tld = '{{ tld }}' -- required
;