domain_prices
Creates, updates, deletes, gets or lists a domain_prices resource.
Overview
| Name | domain_prices |
| Type | Resource |
| Id | vercel.domains_registrar.domain_prices |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
purchase_price | number | (wire: purchasePrice) |
renewal_price | number | (wire: renewalPrice) |
transfer_price | number | (wire: transferPrice) |
years | number |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | domain | years, team_id | Get price data for a specific domain |
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.
| Name | Datatype | Description |
|---|---|---|
domain | string | |
team_id | string | (wire: teamId) |
years | string | The number of years to get the price for. If not provided, the minimum number of years for the TLD will be used. |
SELECT examples
- get
Get price data for a specific domain
SELECT
purchase_price,
renewal_price,
transfer_price,
years
FROM vercel.domains_registrar.domain_prices
WHERE domain = '{{ domain }}' -- required
AND years = '{{ years }}'
AND team_id = '{{ team_id }}'
;