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

# Get order by ID

> Get a single order by its ID



## OpenAPI

````yaml https://api.auctionnow.io/api/alpha/doc get /alpha/merchant/orders/{id}
openapi: 3.0.0
info:
  version: alpha
  title: Auction Now API
servers:
  - url: https://api.auctionnow.io/api
    description: Production API
security: []
paths:
  /alpha/merchant/orders/{id}:
    get:
      tags:
        - Orders
      summary: Get order by ID
      description: Get a single order by its ID
      parameters:
        - schema:
            type: string
            description: The unique ID of the order
          required: true
          description: The unique ID of the order
          name: id
          in: path
        - schema:
            type: string
            description: Your Auction Now API key as a Bearer token
            example: Bearer ak_XXXXXXX
          required: true
          description: Your Auction Now API key as a Bearer token
          name: Authorization
          in: header
      responses:
        '200':
          description: Order details
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      _id:
                        type: string
                        description: Auction Now's unique identifier for the order
                      customerId:
                        type: string
                        description: The customer's unique identifier
                      _creationTime:
                        type: number
                        description: When the order was created
                      status:
                        type: string
                        description: Current order status
                      totalAmount:
                        type: number
                        description: Total order amount in USD
                      subTotalAmount:
                        type: number
                        description: Subtotal in USD
                      shippingCost:
                        type: number
                        description: Shipping cost in USD
                      taxCost:
                        type: number
                        description: Tax cost in USD
                      trackingNumber:
                        type: string
                        description: Shipping tracking number
                      quantity:
                        type: number
                        description: Number of items ordered
                      title:
                        type: string
                        description: Product title
                      description:
                        type: string
                        description: Product description
                      slug:
                        type: string
                        description: Product slug
                      buyerEmail:
                        type: string
                        description: The buyer's email address
                      buyerName:
                        type: string
                        description: The buyer's name
                      processingFee:
                        type: number
                        description: Payment processing fee in USD
                      productType:
                        type: string
                        enum:
                          - PHYSICAL
                          - DIGITAL_FILE
                          - DIGITAL_LINK
                        description: Type of product
                    required:
                      - _id
                      - _creationTime
                      - status
                      - totalAmount
                      - quantity
                    description: The order details
                  message:
                    type: string
                  timestamp:
                    type: number
                required:
                  - data
                  - timestamp
        '400':
          description: Bad Request - Validation error or invalid input
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  error:
                    anyOf:
                      - type: string
                      - type: object
                        properties:
                          errors:
                            type: array
                            items:
                              type: string
                          properties:
                            type: object
                            properties:
                              data:
                                type: object
                                properties:
                                  errors:
                                    type: array
                                    items:
                                      type: string
                                  properties:
                                    type: object
                                    additionalProperties:
                                      type: object
                                      properties:
                                        errors:
                                          type: array
                                          items:
                                            type: string
                                      required:
                                        - errors
                                required:
                                  - errors
                                  - properties
                            required:
                              - data
                        required:
                          - errors
                          - properties
                required:
                  - message
                  - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  reason:
                    type: string
                required:
                  - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  reason:
                    type: string
                required:
                  - error
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  reason:
                    type: string
                required:
                  - error
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error

````