> ## 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.

# List your stock

> Your per-variant allocations.



## OpenAPI

````yaml /openapi.json get /stock
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:
  /stock:
    get:
      tags:
        - Stock
      summary: List your stock
      description: Your per-variant allocations.
      operationId: listStock
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                  data:
                    type: array
                    items:
                      allOf:
                        - $ref: '#/components/schemas/ClientStock'
                        - type: object
                          properties:
                            product_id:
                              type: integer
                            product_name:
                              type: string
                            variant_name:
                              type: string
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
      security:
        - ApiKey: []
components:
  schemas:
    ClientStock:
      type: object
      properties:
        variant_id:
          type: integer
        allocated:
          type: integer
          nullable: true
        used:
          type: integer
        remaining:
          type: integer
          nullable: true
          description: Units you can buy right now. null when released (unrestricted).
        status:
          type: string
          enum:
            - active
            - paused
            - expired
            - exhausted
            - released
        expires_at:
          type: string
          format: date-time
          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.