entri.purchaseDomain(config)
This method launches the Entri Sell modal. The config object includes the same set of properties as those specified in entri.connectDomain(config), plus additional Sell-specific options:
For browser callback events (
onSuccess, onEntriClose), see Sell Events.Domains purchased through
purchaseDomain() are not monitored by default. To track them with Entri Monitor, pass monitor: true in the config as described in Monitor configuration. Only showUnify() enrolls domains in Monitor automatically.
This
purchaseDomain method includes all the latest theming options, cobranded elements, and features such as successCallbackUrl and exitCallbackUrl. Make sure to set the appropriate fields to customize the flow according to your needs.
Possible purchaseDomain() Errors
When any of the following critical errors occur, a console error will be logged, and the user will only see “Entri is misconfigured. Please contact support for assistance.” in the UI.
Asynchronous DNS configurations (Entri Sell only)
You can make asynchronous DNS configurations after the initial Entri Sell flow has finished, with time limits depending on the registrar or plan tier.- For Squarespace domains, it remains available for up to 1 year after the initial domain purchase.
- For IONOS domains, it remains available for up to 1 year after the initial domain purchase.
For IONOS domains, the 1-year async configuration window only applies to new domains ordered after December 15, 2025.
debugMode=true flows.)
Sample body:
JSON
Properties:
List purchased domains
This server-side endpoint returns every domain your application has sold through Entri Sell, along with theuserId you passed in the config at purchase time. Use it to match each purchased domain to the right account in your system, run audits, or backfill data missed by webhook notifications. Results are scoped to your applicationId.
Only domains purchased through the Sell flow are returned, regardless of which registrar (IONOS, GoDaddy, etc.) fulfilled the purchase. Domains transferred directly to another registrar outside of Sell, for example as part of a bulk migration, are not included.
applicationId and secret as described in Token creation (JWT), and send it as a Bearer token together with the applicationId header.
Query parameters
If no filters are supplied, the endpoint returns every domain purchased through Sell for your application, most recent first.
Example request
Example response
items represents one purchased domain:
The response envelope carries the pagination data:
Errors
Errors are returned as{ "message": "Error description" } with the corresponding HTTP status code.
An empty result is not an error. If no domains match your filters, or your application has no Sell purchases yet, the request returns
200 OK with "items": [] and "total": 0.
