API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · domain_orders

Domain Order Schema

Schema-ID
domain_order
Collection
domain_orders
Permissions
  • Lezendomain_register
  • Aanmakendomain_register
  • Wijzigendomain_register
  • Verwijderendomain_register

Velden

Domain Order Schema

domain_orders4 permissions

Schema for domain registration, transfer, and renewal orders

domainNamestringvereist

Fully qualified domain name to register/transfer/renew

1–253 tekens
orderTypestringvereist

Type of domain order

registrationtransferrenewal
statusstringoptioneel

Current order status

pendingprocessingcompletedfailedcancelled
read-only
inwxOrderIdstringoptioneel

INWX order/process ID

read-onlynullable
inwxPricenumberoptioneel

INWX wholesale price in EUR

≥ 0read-only
retailPricenumberoptioneel

Retail price charged to tenant in EUR

≥ 0read-only
marginnumberoptioneel

Markup margin in EUR

≥ 0read-only
periodintegervereist

Registration/renewal period in years

1 – 10
ownerPartyIduuidoptioneel

Party used as INWX owner handle

nullable
adminPartyIduuidoptioneel

Party used as INWX admin handle (defaults to owner)

nullable
techPartyIduuidoptioneel

Party used as INWX tech handle (defaults to owner)

nullable
billingPartyIduuidoptioneel

Party used as INWX billing handle (defaults to owner)

nullable
authCodestringoptioneel

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 tekensnullable
ownerHandleIduuidoptioneel

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

nullable
adminHandleIduuidoptioneel
nullable
techHandleIduuidoptioneel
nullable
billingHandleIduuidoptioneel
nullable
customerPartyIduuidoptioneel

Customer party the domain belongs to (asset.partyId)

nullable
billingobjectoptioneel

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

nullable
contractIduuidoptioneel
nullable
unitPriceCentsintegeroptioneel
≥ 0nullable
dnsTemplateIduuidoptioneel
nullable
dnsTemplateVariablesobjectoptioneel
nullable
batchIdstringoptioneel

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

max. 64 tekensnullable
renewAssetIduuidoptioneel

Domain asset a renewal order extends

nullable
renewBaseExDatestringoptioneel

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 tekensnullable
registrarSubmittedAtdatetimeoptioneel

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
registrarOutcomeUnknownAtdatetimeoptioneel

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

nullable
useInwxNameserversbooleanoptioneel

Whether to use INWX default nameservers

nameserversstring[]optioneel

Custom nameservers (if not using INWX)

max. 6 itemsnullable
assetIduuidoptioneel

Created domain asset ID (set on completion)

read-onlynullable
errorMessagestringoptioneel

Error details if order failed

max. 2000 tekensread-onlynullable
errorCodestringoptioneel

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 tekensread-onlynullable
errorParamsobjectoptioneel

Interpolation values for errorCode (JSON-safe scalars).

read-onlynullable
completedAtdatetimeoptioneel

When the order was completed

read-onlynullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/domain_orders — Lijst, gepagineerd + filterbaar
  • GET /api/v1/domain_orders/<id> — Enkele entity
  • POST /api/v1/domain_orders — Aanmaken
  • PATCH /api/v1/domain_orders/<id> — Gedeeltelijke update
  • DELETE /api/v1/domain_orders/<id> — Soft-delete
  • GET /api/v1/domain_orders/<id>/timeline — Audit + activiteiten

Zoeken