API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · domain_orders

Domain Order Schema

Schema ID
domain_order
Collection
domain_orders
Permissions
  • Readdomain_register
  • Createdomain_register
  • Editdomain_register
  • Deletedomain_register

Fields

Domain Order Schema

domain_orders4 permissions

Schema for domain registration, transfer, and renewal orders

domainNamestringrequired

Fully qualified domain name to register/transfer/renew

1–253 characters
orderTypestringrequired

Type of domain order

registrationtransferrenewal
statusstringoptional

Current order status

pendingprocessingcompletedfailedcancelled
read-only
inwxOrderIdstringoptional

INWX order/process ID

read-onlynullable
inwxPricenumberoptional

INWX wholesale price in EUR

≥ 0read-only
retailPricenumberoptional

Retail price charged to tenant in EUR

≥ 0read-only
marginnumberoptional

Markup margin in EUR

≥ 0read-only
periodintegerrequired

Registration/renewal period in years

1 – 10
ownerPartyIduuidoptional

Party used as INWX owner handle

nullable
adminPartyIduuidoptional

Party used as INWX admin handle (defaults to owner)

nullable
techPartyIduuidoptional

Party used as INWX tech handle (defaults to owner)

nullable
billingPartyIduuidoptional

Party used as INWX billing handle (defaults to owner)

nullable
authCodestringoptional

DEPRECATED — never written since VULN-2026-10-29-domain-order-authcode-in-api-response. The auth code lives only in the transfer job data; legacy values are redacted on read.

max 255 charactersnullable
ownerHandleIduuidoptional

domain_handles id of the owner (registrant) contact (ADR 1117)

nullable
adminHandleIduuidoptional
nullable
techHandleIduuidoptional
nullable
billingHandleIduuidoptional
nullable
customerPartyIduuidoptional

Customer party the domain belongs to (asset.partyId)

nullable
billingobjectoptional

Customer billing (contract position) after completion; null = do not bill

nullable
contractIduuidoptional
nullable
unitPriceCentsintegeroptional
≥ 0nullable
dnsTemplateIduuidoptional
nullable
dnsTemplateVariablesobjectoptional
nullable
batchIdstringoptional

Groups the orders of one POST /domain-orders/batch call

max 64 charactersnullable
renewAssetIduuidoptional

Domain asset a renewal order extends

nullable
renewBaseExDatestringoptional

Registry expiry date recorded by the worker right before domain.renew. A retried renewal compares the current expiry against it and completes instead of renewing a second time.

max 64 charactersnullable
registrarSubmittedAtdatetimeoptional

Worker-managed: the registrar accepted domain.create/domain.transfer for this order. A retry may complete the order only if the domain is in the platform account AND this (or registrarOutcomeUnknownAt) is set.

nullable
registrarOutcomeUnknownAtdatetimeoptional

Worker-managed: the registrar response to a non-idempotent call was lost; the worker checked the account instead of re-sending.

nullable
useInwxNameserversbooleanoptional

Whether to use INWX default nameservers

nameserversstring[]optional

Custom nameservers (if not using INWX)

max 6 itemsnullable
assetIduuidoptional

Created domain asset ID (set on completion)

read-onlynullable
errorMessagestringoptional

Error details if order failed

max 2000 charactersread-onlynullable
errorCodestringoptional

Catalog key (API_ERRORS_CATALOG) of errorMessage, so the UI can render it in the user language (ADR 1033 / S9c). Absent/null on older orders — fall back to errorMessage.

max 120 charactersread-onlynullable
errorParamsobjectoptional

Interpolation values for errorCode (JSON-safe scalars).

read-onlynullable
completedAtdatetimeoptional

When the order was completed

read-onlynullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/domain_orders — List, paginated + filterable
  • GET /api/v1/domain_orders/<id> — Single entity
  • POST /api/v1/domain_orders — Create
  • PATCH /api/v1/domain_orders/<id> — Partial update
  • DELETE /api/v1/domain_orders/<id> — Soft delete
  • GET /api/v1/domain_orders/<id>/timeline — Audit + activities

Search