PRIMIS Product API

Product API

Operations 5

POST /products Create new product
GET /products/{id} Get product
PUT /products/{id} Update a product
DELETE /products/{id} Delete product
PUT /products/image Get product

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/primis-product-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

primis-product-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: REST Auth Product API
  version: 1.1.0
  description: Primis API docs
servers:
- url: https://api.primis.cx
  description: Production server
- url: https://api.qa.primis.cx
  description: QA Server
tags:
- name: Product
  description: Product API
paths:
  /products:
    post:
      tags:
      - Product
      summary: Create new product
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Product'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '500':
          description: Server Error
  /products/{id}:
    get:
      tags:
      - Product
      summary: Get product
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: Id of the product
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '500':
          description: Server Error
    put:
      tags:
      - Product
      summary: Update a product
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: Id of the product
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Product'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '500':
          description: Server Error
    delete:
      tags:
      - Product
      summary: Delete product
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: Id of the product
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '500':
          description: Server Error
  /products/image:
    put:
      tags:
      - Product
      summary: Get product
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: Id of the product
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '500':
          description: Server Error
components:
  schemas:
    ProductVariant:
      properties:
        id:
          title: ProductVariant.id
          type: string
        imageUrl:
          title: ProductVariant.imageUrl
          type: string
        title:
          title: ProductVariant.title
          type: string
      required:
      - id
      - imageUrl
      - title
      additionalProperties: false
      title: ProductVariant
      type: object
    Product:
      properties:
        _id:
          title: Product._id
          type: string
        retailerId:
          title: Product.retailerId
          type: string
        externalProductId:
          title: Product.externalProductId
          type: string
        status:
          type: string
          enum:
          - draft
          - published
          - deleted
          title: Product.status
        name:
          title: Product.name
          type: string
        description:
          title: Product.description
          type: string
        imageUrl:
          title: Product.imageUrl
          type: string
        colors:
          items:
            $ref: '#/components/schemas/ProductColor'
            title: Product.colors.[]
          title: Product.colors
          type: array
        hyperlink:
          title: Product.hyperlink
          type: string
        variants:
          items:
            $ref: '#/components/schemas/ProductVariant'
            title: Product.variants.[]
          title: Product.variants
          type: array
      required:
      - retailerId
      - status
      - name
      - imageUrl
      - hyperlink
      additionalProperties: false
      title: Product
      type: object
    ProductColor:
      properties:
        name:
          title: ProductColor.name
          type: string
        value:
          title: ProductColor.value
          type: string
      required:
      - name
      - value
      additionalProperties: false
      title: ProductColor
      type: object
  securitySchemes:
    bearerAuth:
      type: https
      scheme: bearer
      bearerFormat: JWT