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

# Get Customer Order Details



## OpenAPI

````yaml /openapi/agent-reseller-api.mintlify.json get /apiv1/customerOrderDetail
openapi: 3.0.0
info:
  title: TravelDesk Agent API
  contact:
    name: API Support
    email: api@websitetravel.com
  version: '1.0'
  description: >-
    TravelDesk Agent (Reseller) API.


    ## Rate limiting


    The quota is applied **per Agent Branch key** — the per-branch client
    id/secret pair — not per account, per host, or per integration. Standard
    branches get **200 calls per minute**; upgraded branches get **900**. That
    budget is shared across everything the branch does: availability refreshes,
    background sweeps, customer-facing pricing, and quote or booking creation.


    Two consequences worth designing around:


    - A background sweep can starve customer-facing traffic for the same branch.
    Give live requests priority over refresh work, and cap the concurrency of
    any bulk job.

    - Cooldowns after a `429` must be keyed per branch. Keying them by host
    throttles every branch at once, because they all share
    `tdms.websitetravel.com`.


    Prefer endpoints that answer for a whole product in one request —
    `/apiv1/checkAvailabilityProduct` over one `/apiv1/checkavailabilityrange`
    call per fareprice — since the saving is measured against this quota.


    ## Dates


    Most endpoints take and return `DD-MON-YYYY` (`29-JUL-2026`).
    `/apiv1/checkAvailabilityProduct` returns ISO `YYYY-MM-DD` keys in `dates`.
    Parse both.


    ## Pricing


    Accommodation is dynamically priced — rates move between individual dates,
    not just between seasons — so never cache one rate per fareprice and reuse
    it across a range. Nett tracks RRP at a fixed commission ratio per
    fareprice, because changing commission requires a new
    `productPricesDetailsId`; that makes nett safe to derive from RRP rather
    than store.
servers:
  - url: https://tdms.websitetravel.com
    description: Production Server
  - url: https://tdmstest03.websitetravel.com
    description: Test Server
  - url: http://tdms.localhost
    description: Development Server
security: []
tags:
  - name: Authentication
  - name: Products
  - name: Availability and Pricing - Booking system based Live Availability
  - name: Availability and Pricing - Siteminder Live Availability
  - name: Availability and Pricing - Cached Availability and Live pricing
  - name: Availability and Pricing - Package Availability
  - name: Availability and Pricing - Check Availability via mail to supplier
  - name: Order Placement
  - name: Post Order Management
  - name: Accommodation
  - name: Reports
paths:
  /apiv1/customerOrderDetail:
    get:
      tags:
        - Post Order Management
      summary: Get Customer Order Details
      operationId: step2_getCustomerOrderDetail
      parameters:
        - name: email
          in: query
          required: false
          schema:
            type: string
        - name: since
          in: query
          required: false
          schema:
            type: string
            pattern: \d{0,2}-[A-Za-z]{3}-\d{4}
        - name: toDate
          in: query
          required: false
          schema:
            type: string
            pattern: \d{0,2}-[A-Za-z]{3}-\d{4}
        - name: orderId
          in: query
          required: false
          schema:
            type: integer
        - name: searchOnlyStatus
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Returns array of customer order details
          content:
            application/json:
              schema:
                type: array
                items:
                  properties:
                    email:
                      description: Customer email address
                      type: string
                    firstName:
                      description: Customer first name
                      type: string
                    lastName:
                      description: Customer last name
                      type: string
                    phone:
                      description: Customer phone number
                      type: string
                    productTags:
                      description: Product tags
                      type: string
                      nullable: true
                    orderId:
                      description: Order ID
                      type: integer
                    bookingReference:
                      description: Booking reference
                      type: string
                    salesAgentName:
                      description: Sales agent name
                      type: string
                    salesAgentEmail:
                      description: Sales agent email
                      type: string
                    salesBranchCode:
                      description: Sales branch code
                      type: string
                    brand:
                      description: Brand
                      type: string
                      nullable: true
                    datePurchased:
                      description: Date order was purchased
                      type: string
                      format: date
                    earliestTravelDate:
                      description: Earliest travel date
                      type: string
                      format: date
                    latestTravelDate:
                      description: Latest travel date
                      type: string
                      format: date
                    vouchersPDF:
                      description: URL to PDF vouchers
                      type: string
                    vouchersHTML:
                      description: URL to HTML vouchers
                      type: string
                    orderStatus:
                      description: Order status (Order, Quote, Cancelled, Fully Refunded)
                      type: string
                    totalAmount:
                      description: Total order amount
                      type: number
                      format: float
                    paidAmount:
                      description: Amount paid
                      type: number
                      format: float
                    netTotal:
                      description: Net total amount
                      type: number
                      format: float
                    commissionAmount:
                      description: Commission amount
                      type: number
                      format: float
                    vouchers:
                      description: Array of voucher details
                      type: array
                      items:
                        properties:
                          voucherNumber:
                            description: Voucher number
                            type: string
                          productQty:
                            description: Product quantity
                            type: integer
                          productQtyAdjust:
                            description: Product quantity adjustments
                            type: integer
                        type: object
                    totalAmountExcludeCCFee:
                      description: Total amount excluding credit card fees
                      type: number
                      format: float
                  type: object
        '403':
          description: Returned when the user is not authorized.
        '500':
          description: Internal server error.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.