CompTeam Inventory API

The Inventory API from CompTeam — 7 operation(s) for inventory.

GitHub OpenAPI

Operations 7

GET /api/v1/inventory/materials List Materials #
GET /api/v1/inventory/stock List Stock #
GET /api/v1/inventory/transactions List Transactions #
GET /api/v1/inventory/gear-orders List Open Gear Orders #
POST /api/v1/inventory/receipts Post Receipt #
POST /api/v1/inventory/issues Post Issue #
POST /api/v1/inventory/transfers Post Transfer #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/compteam-io:compteam-io-inventory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

compteam-io-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compteam Io Inventory API
  version: 0.1.0
  description: 'Operations tagged Inventory across 2 of this provider''s published API definitions: compteam-io-openapi.json, compteam-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.compteam.io
  description: C-TEAM API host serving this spec and its Swagger UI at /docs
tags:
- name: Inventory
paths:
  /api/v1/inventory/materials:
    get:
      tags:
      - Inventory
      summary: List Materials
      operationId: list_materials_api_v1_inventory_materials_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/inventory/stock:
    get:
      tags:
      - Inventory
      summary: List Stock
      operationId: list_stock_api_v1_inventory_stock_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/inventory/transactions:
    get:
      tags:
      - Inventory
      summary: List Transactions
      operationId: list_transactions_api_v1_inventory_transactions_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/inventory/gear-orders:
    get:
      tags:
      - Inventory
      summary: List Open Gear Orders
      operationId: list_open_gear_orders_api_v1_inventory_gear_orders_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/inventory/receipts:
    post:
      tags:
      - Inventory
      summary: Post Receipt
      operationId: post_receipt_api_v1_inventory_receipts_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReceiptCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/inventory/issues:
    post:
      tags:
      - Inventory
      summary: Post Issue
      operationId: post_issue_api_v1_inventory_issues_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IssueCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/inventory/transfers:
    post:
      tags:
      - Inventory
      summary: Post Transfer
      operationId: post_transfer_api_v1_inventory_transfers_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TransferCreate:
      properties:
        material_id:
          type: string
          format: uuid
          title: Material Id
        source_location_id:
          type: string
          format: uuid
          title: Source Location Id
        destination_location_id:
          type: string
          format: uuid
          title: Destination Location Id
        quantity:
          type: integer
          exclusiveMinimum: 0.0
          title: Quantity
      type: object
      required:
      - material_id
      - source_location_id
      - destination_location_id
      - quantity
      title: TransferCreate
    IssueCreate:
      properties:
        material_id:
          type: string
          format: uuid
          title: Material Id
        location_id:
          type: string
          format: uuid
          title: Location Id
        quantity:
          type: integer
          exclusiveMinimum: 0.0
          title: Quantity
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        order_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Order Id
        order_item_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Order Item Id
        athlete_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Athlete Id
      type: object
      required:
      - material_id
      - location_id
      - quantity
      title: IssueCreate
    ReceiptCreate:
      properties:
        material_id:
          type: string
          format: uuid
          title: Material Id
        location_id:
          type: string
          format: uuid
          title: Location Id
        quantity:
          type: integer
          exclusiveMinimum: 0.0
          title: Quantity
        unit_valuation:
          anyOf:
          - type: number
            exclusiveMinimum: 0.0
          - type: string
          title: Unit Valuation
      type: object
      required:
      - material_id
      - location_id
      - quantity
      - unit_valuation
      title: ReceiptCreate
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- compteam-io-openapi.json
- compteam-io-openapi.yml