CompTeam SCM API

The SCM API from CompTeam — 12 operation(s) for scm.

GitHub OpenAPI

Operations 16

GET /api/v1/scm/vendors List Vendors #
POST /api/v1/scm/vendors Create Vendor #
PATCH /api/v1/scm/vendors/{vendor_id} Update Vendor #
GET /api/v1/scm/materials List Materials #
POST /api/v1/scm/materials Create Material #
PATCH /api/v1/scm/materials/{material_id} Update Material #
DELETE /api/v1/scm/materials/{material_id} Delete Material #
GET /api/v1/scm/purchase-orders List Purchase Orders #
POST /api/v1/scm/purchase-orders Create Purchase Order #
GET /api/v1/scm/purchase-order-service-items List Purchase Order Service Items #
GET /api/v1/scm/purchase-orders/{purchase_order_id} Get Purchase Order #
POST /api/v1/scm/purchase-orders/from-association-payable Create Association Payable Purchase Order #
POST /api/v1/scm/purchase-orders/{purchase_order_id}/confirm Confirm Purchase Order #
POST /api/v1/scm/purchase-orders/{purchase_order_id}/ship Ship Purchase Order #
POST /api/v1/scm/purchase-orders/{purchase_order_id}/receive Receive Purchase Order #
POST /api/v1/scm/purchase-orders/{purchase_order_id}/pay Pay Purchase Order #

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-scm-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-scm-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compteam Io SCM API
  version: 0.1.0
  description: 'Operations tagged SCM 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: SCM
paths:
  /api/v1/scm/vendors:
    get:
      tags:
      - SCM
      summary: List Vendors
      operationId: list_vendors_api_v1_scm_vendors_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
    post:
      tags:
      - SCM
      summary: Create Vendor
      operationId: create_vendor_api_v1_scm_vendors_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VendorCreate'
        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/scm/vendors/{vendor_id}:
    patch:
      tags:
      - SCM
      summary: Update Vendor
      operationId: update_vendor_api_v1_scm_vendors__vendor_id__patch
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: vendor_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Vendor Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VendorUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scm/materials:
    get:
      tags:
      - SCM
      summary: List Materials
      operationId: list_materials_api_v1_scm_materials_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
    post:
      tags:
      - SCM
      summary: Create Material
      operationId: create_material_api_v1_scm_materials_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaterialCreate'
        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/scm/materials/{material_id}:
    patch:
      tags:
      - SCM
      summary: Update Material
      operationId: update_material_api_v1_scm_materials__material_id__patch
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: material_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Material Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaterialUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - SCM
      summary: Delete Material
      operationId: delete_material_api_v1_scm_materials__material_id__delete
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: material_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Material Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scm/purchase-orders:
    get:
      tags:
      - SCM
      summary: List Purchase Orders
      operationId: list_purchase_orders_api_v1_scm_purchase_orders_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
    post:
      tags:
      - SCM
      summary: Create Purchase Order
      operationId: create_purchase_order_api_v1_scm_purchase_orders_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PurchaseOrderCreate'
        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/scm/purchase-order-service-items:
    get:
      tags:
      - SCM
      summary: List Purchase Order Service Items
      operationId: list_purchase_order_service_items_api_v1_scm_purchase_order_service_items_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - HTTPBearer: []
  /api/v1/scm/purchase-orders/{purchase_order_id}:
    get:
      tags:
      - SCM
      summary: Get Purchase Order
      operationId: get_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: purchase_order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Purchase Order Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scm/purchase-orders/from-association-payable:
    post:
      tags:
      - SCM
      summary: Create Association Payable Purchase Order
      operationId: create_association_payable_purchase_order_api_v1_scm_purchase_orders_from_association_payable_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssociationPayablePurchaseOrderCreate'
        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/scm/purchase-orders/{purchase_order_id}/confirm:
    post:
      tags:
      - SCM
      summary: Confirm Purchase Order
      operationId: confirm_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__confirm_post
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: purchase_order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Purchase Order Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scm/purchase-orders/{purchase_order_id}/ship:
    post:
      tags:
      - SCM
      summary: Ship Purchase Order
      operationId: ship_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__ship_post
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: purchase_order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Purchase Order Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scm/purchase-orders/{purchase_order_id}/receive:
    post:
      tags:
      - SCM
      summary: Receive Purchase Order
      operationId: receive_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__receive_post
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: purchase_order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Purchase Order Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/scm/purchase-orders/{purchase_order_id}/pay:
    post:
      tags:
      - SCM
      summary: Pay Purchase Order
      operationId: pay_purchase_order_api_v1_scm_purchase_orders__purchase_order_id__pay_post
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: purchase_order_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Purchase Order Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PurchaseOrderItemCreate:
      properties:
        line_type:
          type: string
          enum:
          - goods
          - service
          title: Line Type
        material_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Material Id
        description:
          anyOf:
          - type: string
            maxLength: 240
          - type: 'null'
          title: Description
        quantity:
          type: integer
          exclusiveMinimum: 0.0
          title: Quantity
        location_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Location Id
        unit_price:
          anyOf:
          - type: number
            exclusiveMinimum: 0.0
          - type: string
          title: Unit Price
      type: object
      required:
      - line_type
      - quantity
      - unit_price
      title: PurchaseOrderItemCreate
    MaterialUpdate:
      properties:
        allow_backorder:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Backorder
      type: object
      title: MaterialUpdate
    VendorUpdate:
      properties:
        contact_name:
          anyOf:
          - type: string
            maxLength: 120
          - type: 'null'
          title: Contact Name
        email:
          anyOf:
          - type: string
            maxLength: 254
          - type: 'null'
          title: Email
        phone:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Phone
        address_line1:
          anyOf:
          - type: string
            maxLength: 160
          - type: 'null'
          title: Address Line1
        address_line2:
          anyOf:
          - type: string
            maxLength: 160
          - type: 'null'
          title: Address Line2
        city:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: City
        postal_code:
          anyOf:
          - type: string
            maxLength: 20
          - type: 'null'
          title: Postal Code
        country:
          anyOf:
          - type: string
            maxLength: 2
            minLength: 2
          - type: 'null'
          title: Country
        name:
          anyOf:
          - type: string
            maxLength: 120
          - type: 'null'
          title: Name
      type: object
      title: VendorUpdate
    VendorCreate:
      properties:
        contact_name:
          anyOf:
          - type: string
            maxLength: 120
          - type: 'null'
          title: Contact Name
        email:
          anyOf:
          - type: string
            maxLength: 254
          - type: 'null'
          title: Email
        phone:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Phone
        address_line1:
          type: string
          maxLength: 160
          minLength: 1
          title: Address Line1
        address_line2:
          anyOf:
          - type: string
            maxLength: 160
          - type: 'null'
          title: Address Line2
        city:
          type: string
          maxLength: 100
          minLength: 1
          title: City
        postal_code:
          type: string
          maxLength: 20
          minLength: 2
          title: Postal Code
        country:
          type: string
          maxLength: 2
          minLength: 2
          title: Country
        name:
          type: string
          maxLength: 120
          minLength: 1
          title: Name
      type: object
      required:
      - address_line1
      - city
      - postal_code
      - country
      - name
      title: VendorCreate
    MaterialCreate:
      properties:
        material_number:
          anyOf:
          - type: string
            maxLength: 80
          - type: 'null'
          title: Material Number
        name:
          type: string
          maxLength: 160
          minLength: 1
          title: Name
        allow_backorder:
          type: boolean
          title: Allow Backorder
          default: true
      type: object
      required:
      - name
      title: MaterialCreate
    AssociationPayablePurchaseOrderCreate:
      properties:
        host_branch_id:
          type: string
          format: uuid
          title: Host Branch Id
        currency:
          type: string
          maxLength: 3
          minLength: 3
          title: Currency
        charge_ids:
          items:
            type: string
            format: uuid
          type: array
          minItems: 1
          title: Charge Ids
        idempotency_key:
          type: string
          format: uuid
          title: Idempotency Key
      type: object
      required:
      - host_branch_id
      - currency
      - charge_ids
      - idempotency_key
      title: AssociationPayablePurchaseOrderCreate
    PurchaseOrderCreate:
      properties:
        vendor_id:
          type: string
          format: uuid
          title: Vendor Id
        po_number:
          anyOf:
          - type: string
            maxLength: 80
          - type: 'null'
          title: Po Number
        order_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Order Date
        currency:
          anyOf:
          - type: string
            maxLength: 3
            minLength: 3
          - type: 'null'
          title: Currency
        shipping_cost:
          anyOf:
          - type: number
            minimum: 0.0
          - type: string
          title: Shipping Cost
          default: '0.00'
        import_cost:
          anyOf:
          - type: number
            minimum: 0.0
          - type: string
          title: Import Cost
          default: '0.00'
        items:
          items:
            $ref: '#/components/schemas/PurchaseOrderItemCreate'
          type: array
          minItems: 1
          title: Items
      type: object
      required:
      - vendor_id
      - items
      title: PurchaseOrderCreate
    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