> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dotlet.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Order Details

> Get detailed information about a specific domain order.

Returns full order details including contact information, registrar settings,
DNS setup details, and payment status. Only returns orders belonging to the
authenticated organization.

Path Parameters:
- order_id: UUID of the domain order

Returns 404 if the order doesn't exist or doesn't belong to the organization.



## OpenAPI

````yaml GET /api/v1/registrar/orders/{order_id}
openapi: 3.1.0
info:
  title: Dotlet API
  description: >-
    The Dotlet API lets you search, register, and manage domains, configure DNS
    records, and embed domain purchasing flows in your own product.


    All endpoints are authenticated with an API key or bearer token, and all
    request and response bodies are JSON.
  version: 0.1.1
  contact:
    name: Dotlet Support
    url: https://dotlet.net/support
    email: support@dotlet.net
servers:
  - url: https://api.dotlet.net
    description: Production
security: []
tags:
  - name: Domains
    description: Search, price, register, renew, and manage domains.
  - name: Orders
    description: Create and track domain orders separately from immediate purchases.
  - name: DNS
    description: Manage DNS records for domains hosted with Dotlet.
  - name: Hosted Sessions
    description: Create embeddable, scoped sessions for end users in your own product.
paths:
  /api/v1/registrar/orders/{order_id}:
    get:
      tags:
        - Orders
      summary: Get Order Details
      description: >-
        Get detailed information about a specific domain order.


        Returns full order details including contact information, registrar
        settings,

        DNS setup details, and payment status. Only returns orders belonging to
        the

        authenticated organization.


        Path Parameters:

        - order_id: UUID of the domain order


        Returns 404 if the order doesn't exist or doesn't belong to the
        organization.
      operationId: get_order_details_api_v1_registrar_orders__order_id__get
      parameters:
        - name: order_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Order Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainOrderDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    DomainOrderDetail:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        domain_name:
          type: string
          title: Domain Name
        registrar:
          type: string
          title: Registrar
        years:
          type: integer
          title: Years
        price:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Price
        currency:
          type: string
          title: Currency
        amount_paid:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Amount Paid
        amount_due:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Amount Due
        fully_paid:
          type: boolean
          title: Fully Paid
        status:
          $ref: '#/components/schemas/DomainOrderStatus'
        registrar_order_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Registrar Order Id
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        contact_info:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Contact Info
        nameservers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Nameservers
        privacy:
          type: boolean
          title: Privacy
          default: true
        auto_renew:
          type: boolean
          title: Auto Renew
          default: true
        dns_setup_requested:
          type: boolean
          title: Dns Setup Requested
        dns_provider:
          anyOf:
            - type: string
            - type: 'null'
          title: Dns Provider
        dns_setup_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Dns Setup Status
        dns_zone_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Dns Zone Id
        dns_nameservers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Dns Nameservers
        dns_setup_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Dns Setup Error
        dns_setup_started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Dns Setup Started At
        dns_setup_completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Dns Setup Completed At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
        payment_allocations:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Payment Allocations
      type: object
      required:
        - id
        - organization_id
        - domain_name
        - registrar
        - years
        - price
        - currency
        - amount_paid
        - amount_due
        - fully_paid
        - status
        - dns_setup_requested
        - created_at
        - updated_at
      title: DomainOrderDetail
      description: Detailed domain order information including payment history
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DomainOrderStatus:
      type: string
      enum:
        - pending
        - ready_to_process
        - price_changed
        - processing
        - completed
        - failed
        - cancelled
        - refunded
      title: DomainOrderStatus
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      scheme: bearer

````