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

# Retrieve several orders

> Status and codes for up to many orders in one call. Use this to poll.



## OpenAPI

````yaml /openapi.json post /products/orders/retrieve
openapi: 3.0.3
info:
  title: Wasmou API
  version: 1.0.0
  description: >-
    Sell digital goods: catalog, purchase, delivery, game top-ups and per-client
    stock. All amounts are in DZD.
servers:
  - url: https://api.wasmou.net/api
    description: Production
security: []
paths:
  /products/orders/retrieve:
    post:
      tags:
        - Orders
      summary: Retrieve several orders
      description: Status and codes for up to many orders in one call. Use this to poll.
      operationId: retrieveOrders
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - order_ids
              properties:
                order_ids:
                  type: array
                  items:
                    type: string
                  example:
                    - '06061206'
                    - '47273778'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Order'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
      security:
        - ApiKey: []
components:
  schemas:
    Order:
      type: object
      properties:
        order_id:
          type: string
          example: '06061206'
        product_name:
          type: string
        variant_name:
          type: string
        status:
          type: string
          enum:
            - processing
            - completed
            - delivered
            - failed
            - refunded
            - canceled
          description: >-
            Final unless `processing`. Manual products use `delivered` /
            `canceled`.
        key:
          type: string
          nullable: true
          description: The delivered code, once available.
        has_key:
          type: boolean
        price:
          type: number
        created_at:
          type: string
          format: date-time
        purchase_timestamp:
          type: string
          nullable: true
    Error:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
          example: Insufficient balance.
        data:
          nullable: true
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Your API key from the Wasmou app (API access).

````

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