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

# Get order



## OpenAPI

````yaml GET /orders/{orderId}
openapi: 3.1.0
info:
  title: Wave Lines API
  version: 1.0.0
servers: []
security:
  - apiKey: []
tags:
  - name: lines
    description: Line lifecycle operations
  - name: payments
    description: Payment listing and lookup
  - name: payment-methods
    description: Payment method lifecycle operations
  - name: tax-receipts
    description: Tax receipt listing, lookup and document download
  - name: subscriptions
    description: Subscription lookup, product management and invoices
  - name: holders
    description: Holder (customer) listing, lookup and creation
  - name: usage
    description: 'Usage: per-product line balance and consumption'
  - name: Portability
    description: >-
      Number portability: port-in request creation, listing, modification and
      cancellation, plus the consolidated portability status
  - name: Inventory
    description: >-
      Inventory resource pools: pool listing, the resources held in a pool and
      resource reservations
  - name: Catalog
    description: Catalog offers exposed by the Wave Catalog API
  - name: orders
    description: Order listing and lookup, proxied from the Order API
paths:
  /orders/{orderId}:
    get:
      tags:
        - orders
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: orderId
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  type:
                    type: string
                  status:
                    type: string
                    enum:
                      - PENDING
                      - IN_PROGRESS
                      - COMPLETED
                      - FAILED
                      - ROLLING_BACK
                      - ROLLED_BACK
                      - ROLLBACK_FAILED
                      - CANCELLING
                      - CANCELLED
                      - CANCEL_FAILED
                  resource:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                    required:
                      - type
                      - id
                    additionalProperties: false
                  brokerId:
                    type: string
                  externalCode:
                    type: string
                  correlationId:
                    type: string
                  createdAt:
                    type: string
                  updatedAt:
                    type: string
                  input:
                    type: object
                    additionalProperties: {}
                  metadata:
                    type: object
                    additionalProperties: {}
                  cancellationReason:
                    type:
                      - 'null'
                      - string
                  steps:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        orderTypeStepCode:
                          type: string
                        actionCode:
                          type: string
                        status:
                          type: string
                          enum:
                            - PENDING
                            - RUNNING
                            - SUCCESS
                            - FAILED
                            - SKIPPED
                            - ROLLING_BACK
                            - ROLLED_BACK
                            - ROLLBACK_FAILED
                        attempt:
                          type: number
                        error:
                          anyOf:
                            - type: object
                              additionalProperties: {}
                            - type: 'null'
                        startedAt:
                          type:
                            - 'null'
                            - string
                        failedAt:
                          type:
                            - 'null'
                            - string
                        finishedAt:
                          type:
                            - 'null'
                            - string
                      required:
                        - id
                        - orderTypeStepCode
                        - actionCode
                        - status
                        - attempt
                        - error
                        - startedAt
                        - failedAt
                        - finishedAt
                      additionalProperties: false
                  failure:
                    anyOf:
                      - type: object
                        properties:
                          failedAt:
                            type: string
                          pendingSteps:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                orderTypeStepCode:
                                  type: string
                                actionCode:
                                  type: string
                                status:
                                  type: string
                                  enum:
                                    - PENDING
                                    - RUNNING
                                    - SUCCESS
                                    - FAILED
                                    - SKIPPED
                                    - ROLLING_BACK
                                    - ROLLED_BACK
                                    - ROLLBACK_FAILED
                                attempt:
                                  type: number
                                error:
                                  anyOf:
                                    - type: object
                                      additionalProperties: {}
                                    - type: 'null'
                                startedAt:
                                  type:
                                    - string
                                    - 'null'
                                failedAt:
                                  type:
                                    - string
                                    - 'null'
                                finishedAt:
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - id
                                - orderTypeStepCode
                                - actionCode
                                - status
                                - attempt
                                - error
                                - startedAt
                                - failedAt
                                - finishedAt
                              additionalProperties: false
                        required:
                          - failedAt
                          - pendingSteps
                        additionalProperties: false
                      - type: 'null'
                required:
                  - id
                  - type
                  - status
                  - resource
                  - brokerId
                  - externalCode
                  - correlationId
                  - createdAt
                  - updatedAt
                  - input
                  - metadata
                  - cancellationReason
                  - steps
                  - failure
                additionalProperties: false
        '400':
          description: Error response as an RFC 9457 problem detail.
          content:
            application/problem+json:
              schema:
                type: object
                description: RFC 9457 problem details error response.
                required:
                  - type
                  - title
                  - status
                additionalProperties: true
                properties:
                  type:
                    type: string
                    description: A URI reference that identifies the problem type.
                    enum:
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/validation-error
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/unauthorized
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/forbidden
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/not-found
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/conflict
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/invalid-status-transition
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/internal-server-error
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/not-acceptable
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/portability-rejected
                  title:
                    type: string
                    description: A short, human-readable summary of the problem type.
                  status:
                    type: integer
                    description: The HTTP status code.
                  detail:
                    type: string
                    description: >-
                      A human-readable explanation specific to this occurrence
                      of the problem.
                  instance:
                    type: string
                    description: >-
                      A URI reference that identifies the specific occurrence of
                      the problem.
        '401':
          description: Error response as an RFC 9457 problem detail.
          content:
            application/problem+json:
              schema:
                type: object
                description: RFC 9457 problem details error response.
                required:
                  - type
                  - title
                  - status
                additionalProperties: true
                properties:
                  type:
                    type: string
                    description: A URI reference that identifies the problem type.
                    enum:
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/validation-error
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/unauthorized
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/forbidden
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/not-found
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/conflict
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/invalid-status-transition
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/internal-server-error
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/not-acceptable
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/portability-rejected
                  title:
                    type: string
                    description: A short, human-readable summary of the problem type.
                  status:
                    type: integer
                    description: The HTTP status code.
                  detail:
                    type: string
                    description: >-
                      A human-readable explanation specific to this occurrence
                      of the problem.
                  instance:
                    type: string
                    description: >-
                      A URI reference that identifies the specific occurrence of
                      the problem.
        '404':
          description: Error response as an RFC 9457 problem detail.
          content:
            application/problem+json:
              schema:
                type: object
                description: RFC 9457 problem details error response.
                required:
                  - type
                  - title
                  - status
                additionalProperties: true
                properties:
                  type:
                    type: string
                    description: A URI reference that identifies the problem type.
                    enum:
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/validation-error
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/unauthorized
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/forbidden
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/not-found
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/conflict
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/invalid-status-transition
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/internal-server-error
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/not-acceptable
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/portability-rejected
                  title:
                    type: string
                    description: A short, human-readable summary of the problem type.
                  status:
                    type: integer
                    description: The HTTP status code.
                  detail:
                    type: string
                    description: >-
                      A human-readable explanation specific to this occurrence
                      of the problem.
                  instance:
                    type: string
                    description: >-
                      A URI reference that identifies the specific occurrence of
                      the problem.
        '500':
          description: Error response as an RFC 9457 problem detail.
          content:
            application/problem+json:
              schema:
                type: object
                description: RFC 9457 problem details error response.
                required:
                  - type
                  - title
                  - status
                additionalProperties: true
                properties:
                  type:
                    type: string
                    description: A URI reference that identifies the problem type.
                    enum:
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/validation-error
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/unauthorized
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/forbidden
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/not-found
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/conflict
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/invalid-status-transition
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/internal-server-error
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/not-acceptable
                      - >-
                        https://docs.bemobiwave.com/api-reference/errors/portability-rejected
                  title:
                    type: string
                    description: A short, human-readable summary of the problem type.
                  status:
                    type: integer
                    description: The HTTP status code.
                  detail:
                    type: string
                    description: >-
                      A human-readable explanation specific to this occurrence
                      of the problem.
                  instance:
                    type: string
                    description: >-
                      A URI reference that identifies the specific occurrence of
                      the problem.
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key

````