CompTeam Products API
The Products API from CompTeam — 7 operation(s) for products.
The Products API from CompTeam — 7 operation(s) for products.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/compteam-io:compteam-io-products-api"
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.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Compteam Io Products API
version: 0.1.0
description: 'Operations tagged Products 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: Products
paths:
/api/v1/products/categories:
get:
tags:
- Products
summary: List Categories
operationId: list_categories_api_v1_products_categories_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
post:
tags:
- Products
summary: Create Category
operationId: create_category_api_v1_products_categories_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CategoryCreate'
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: []
/api/v1/products/:
get:
tags:
- Products
summary: List Products
operationId: list_products_api_v1_products__get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
post:
tags:
- Products
summary: Create Product
operationId: create_product_api_v1_products__post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ProductCreate'
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: []
/api/v1/products/{product_id}:
get:
tags:
- Products
summary: Get Product
operationId: get_product_api_v1_products__product_id__get
security:
- HTTPBearer: []
parameters:
- name: product_id
in: path
required: true
schema:
type: string
format: uuid
title: Product Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Products
summary: Update Product
operationId: update_product_api_v1_products__product_id__patch
security:
- HTTPBearer: []
parameters:
- name: product_id
in: path
required: true
schema:
type: string
format: uuid
title: Product Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ProductUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/products/{product_id}/photos/{position}:
post:
tags:
- Products
summary: Upload Product Photo
operationId: upload_product_photo_api_v1_products__product_id__photos__position__post
security:
- HTTPBearer: []
parameters:
- name: product_id
in: path
required: true
schema:
type: string
format: uuid
title: Product Id
- name: position
in: path
required: true
schema:
type: integer
title: Position
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_upload_product_photo_api_v1_products__product_id__photos__position__post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Products
summary: Delete Product Photo
operationId: delete_product_photo_api_v1_products__product_id__photos__position__delete
security:
- HTTPBearer: []
parameters:
- name: product_id
in: path
required: true
schema:
type: string
format: uuid
title: Product Id
- name: position
in: path
required: true
schema:
type: integer
title: Position
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/products/variants:
post:
tags:
- Products
summary: Create Variant
operationId: create_variant_api_v1_products_variants_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VariantCreate'
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: []
/api/v1/products/{product_id}/variants/import-image:
post:
tags:
- Products
summary: Import Variants From Image
operationId: import_variants_from_image_api_v1_products__product_id__variants_import_image_post
security:
- HTTPBearer: []
parameters:
- name: product_id
in: path
required: true
schema:
type: string
format: uuid
title: Product Id
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_import_variants_from_image_api_v1_products__product_id__variants_import_image_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/products/variants/{variant_id}:
delete:
tags:
- Products
summary: Delete Variant
operationId: delete_variant_api_v1_products_variants__variant_id__delete
security:
- HTTPBearer: []
parameters:
- name: variant_id
in: path
required: true
schema:
type: string
format: uuid
title: Variant Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
Body_upload_product_photo_api_v1_products__product_id__photos__position__post:
properties:
file:
type: string
format: binary
title: File
type: object
required:
- file
title: Body_upload_product_photo_api_v1_products__product_id__photos__position__post
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ProductCreate:
properties:
name:
type: string
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
sku:
anyOf:
- type: string
- type: 'null'
title: Sku
price_amount:
anyOf:
- type: number
exclusiveMinimum: 0.0
- type: string
title: Price Amount
currency:
type: string
title: Currency
default: EUR
delivery_days:
anyOf:
- type: integer
- type: 'null'
title: Delivery Days
category_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Category Id
image_url:
anyOf:
- type: string
- type: 'null'
title: Image Url
stock_count:
anyOf:
- type: integer
- type: 'null'
title: Stock Count
stripe_price_id:
anyOf:
- type: string
- type: 'null'
title: Stripe Price Id
allow_backorder:
type: boolean
title: Allow Backorder
default: true
type: object
required:
- name
- price_amount
title: ProductCreate
Body_import_variants_from_image_api_v1_products__product_id__variants_import_image_post:
properties:
file:
type: string
format: binary
title: File
allow_backorder:
type: boolean
title: Allow Backorder
default: true
type: object
required:
- file
title: Body_import_variants_from_image_api_v1_products__product_id__variants_import_image_post
VariantCreate:
properties:
product_id:
type: string
format: uuid
title: Product Id
size:
anyOf:
- type: string
- type: 'null'
title: Size
color:
anyOf:
- type: string
- type: 'null'
title: Color
sku:
anyOf:
- type: string
- type: 'null'
title: Sku
stock_count:
anyOf:
- type: integer
- type: 'null'
title: Stock Count
price_override:
anyOf:
- type: number
exclusiveMinimum: 0.0
- type: string
- type: 'null'
title: Price Override
allow_backorder:
type: boolean
title: Allow Backorder
default: true
type: object
required:
- product_id
title: VariantCreate
ProductUpdate:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
sku:
anyOf:
- type: string
- type: 'null'
title: Sku
price_amount:
anyOf:
- type: number
exclusiveMinimum: 0.0
- type: string
- type: 'null'
title: Price Amount
delivery_days:
anyOf:
- type: integer
- type: 'null'
title: Delivery Days
category_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Category Id
status:
anyOf:
- type: string
- type: 'null'
title: Status
image_url:
anyOf:
- type: string
- type: 'null'
title: Image Url
stock_count:
anyOf:
- type: integer
- type: 'null'
title: Stock Count
stripe_price_id:
anyOf:
- type: string
- type: 'null'
title: Stripe Price Id
type: object
title: ProductUpdate
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
CategoryCreate:
properties:
name:
type: string
title: Name
type: object
required:
- name
title: CategoryCreate
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- compteam-io-openapi.json
- compteam-io-openapi.yml