Print Hive Product SKUs API

Product SKU management for order fulfillment

GitHub OpenAPI

Operations 9

POST /v1/product-skus Create new product SKU #
GET /v1/product-skus List product SKUs #
GET /v1/product-skus/{id} Get product SKU by ID #
PATCH /v1/product-skus/{id} Update product SKU #
DELETE /v1/product-skus/{id} Delete product SKU #
POST /v1/product-skus/{id}/model-files Link model file to SKU #
GET /v1/product-skus/{id}/model-files List model files for SKU #
DELETE /v1/product-skus/{id}/model-files/{mappingId} Remove model file mapping #
POST /v1/product-skus/{id}/model-files/{mappingId}/validate Validate model file mapping #

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/printhiv3d-com:printhiv3d-com-product-skus-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. 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 Specification

printhiv3d-com-product-skus-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Print Hive API Documentation Product SKUs API
  description: 'REST API for the Print Hive print farm management platform: printers, print jobs, models, materials, inventory, smart queue, and integrations.'
  version: 1.0.0
servers:
- url: https://api.printhiv3d.com
  description: Production
tags:
- name: Product SKUs
  description: Product SKU management for order fulfillment
paths:
  /v1/product-skus:
    post:
      summary: Create new product SKU
      tags:
      - Product SKUs
      description: Create a new product SKU for order fulfillment
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - sku
              - name
              - fulfillment_mode
              properties:
                sku:
                  type: string
                  minLength: 1
                name:
                  type: string
                  minLength: 1
                description:
                  type: string
                fulfillment_mode:
                  type: string
                  enum:
                  - auto
                  - customer_farm
                  - printhive
                metadata:
                  type: object
                is_active:
                  type: boolean
                  default: true
      responses:
        '201':
          description: SKU created successfully
          content:
            application/json:
              schema:
                type: object
                description: SKU created successfully
                additionalProperties: true
        '400':
          description: SKU is reserved for custom designs
          content:
            application/json:
              schema:
                type: object
                description: SKU is reserved for custom designs
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '409':
          description: SKU already exists
          content:
            application/json:
              schema:
                type: object
                description: SKU already exists
                properties:
                  error:
                    type: string
                  message:
                    type: string
      operationId: postV1ProductSkus
      x-operation-id-source: derived
    get:
      summary: List product SKUs
      tags:
      - Product SKUs
      description: Get paginated list of product SKUs
      parameters:
      - schema:
          type: integer
          minimum: 1
          default: 1
        in: query
        name: page
        required: false
      - schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 20
        in: query
        name: limit
        required: false
      - schema:
          type: string
        in: query
        name: search
        required: false
      - schema:
          type: boolean
        in: query
        name: is_active
        required: false
      - schema:
          type: string
          enum:
          - auto
          - customer_farm
          - printhive
        in: query
        name: fulfillment_mode
        required: false
      responses:
        '200':
          description: List of product SKUs
          content:
            application/json:
              schema:
                type: object
                description: List of product SKUs
                additionalProperties: true
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1ProductSkus
      x-operation-id-source: derived
  /v1/product-skus/{id}:
    get:
      summary: Get product SKU by ID
      tags:
      - Product SKUs
      description: Retrieve a single product SKU by its ID
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Product SKU retrieved successfully
          content:
            application/json:
              schema:
                type: object
                description: Product SKU retrieved successfully
                additionalProperties: true
        '404':
          description: Product SKU not found
          content:
            application/json:
              schema:
                type: object
                description: Product SKU not found
                properties:
                  error:
                    type: string
                  message:
                    type: string
      operationId: getV1ProductSkusById
      x-operation-id-source: derived
    patch:
      summary: Update product SKU
      tags:
      - Product SKUs
      description: Partially update a product SKU
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                description:
                  type: string
                fulfillment_mode:
                  type: string
                  enum:
                  - auto
                  - customer_farm
                  - printhive
                metadata:
                  type: object
                is_active:
                  type: boolean
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Product SKU updated successfully
          content:
            application/json:
              schema:
                type: object
                description: Product SKU updated successfully
                additionalProperties: true
        '404':
          description: Product SKU not found
          content:
            application/json:
              schema:
                type: object
                description: Product SKU not found
                additionalProperties: true
      operationId: patchV1ProductSkusById
      x-operation-id-source: derived
    delete:
      summary: Delete product SKU
      tags:
      - Product SKUs
      description: Delete a product SKU permanently
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      responses:
        '204':
          description: Product SKU deleted successfully
        '404':
          description: Product SKU not found
          content:
            application/json:
              schema:
                type: object
                description: Product SKU not found
                additionalProperties: true
      operationId: deleteV1ProductSkusById
      x-operation-id-source: derived
  /v1/product-skus/{id}/model-files:
    post:
      summary: Link model file to SKU
      tags:
      - Product SKUs
      description: Create a mapping between a product SKU and a model file
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - model_file_id
              - allowed_filament_types
              properties:
                model_file_id:
                  type: string
                  format: uuid
                allowed_filament_types:
                  type: array
                  items:
                    type: string
                allowed_filament_colors:
                  type: array
                  items:
                    type: object
                    properties:
                      slot:
                        type: integer
                      color:
                        type: string
                      hex:
                        type: string
                priority:
                  type: integer
                  default: 100
                part_name:
                  type:
                  - string
                  - 'null'
                quantity_per_unit:
                  type: integer
                  minimum: 1
                  default: 1
                make_model_file_id:
                  type:
                  - string
                  - 'null'
                  format: uuid
                recipe_mode:
                  type: string
                  enum:
                  - single_sku
                  - grouped_sku
                  - mixed_sku
                  default: single_sku
                shopify_location_id:
                  type:
                  - string
                  - 'null'
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      responses:
        '201':
          description: Model file linked successfully
          content:
            application/json:
              schema:
                type: object
                description: Model file linked successfully
                additionalProperties: true
        '404':
          description: Product SKU or model file not found
          content:
            application/json:
              schema:
                type: object
                description: Product SKU or model file not found
                additionalProperties: true
        '409':
          description: Mapping already exists
          content:
            application/json:
              schema:
                type: object
                description: Mapping already exists
                additionalProperties: true
      operationId: postV1ProductSkusByIdModelFiles
      x-operation-id-source: derived
    get:
      summary: List model files for SKU
      tags:
      - Product SKUs
      description: Get all model files linked to a product SKU
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      responses:
        '200':
          description: List of model file mappings
          content:
            application/json:
              schema:
                type: object
                description: List of model file mappings
                additionalProperties: true
        '404':
          description: Product SKU not found
          content:
            application/json:
              schema:
                type: object
                description: Product SKU not found
                additionalProperties: true
      operationId: getV1ProductSkusByIdModelFiles
      x-operation-id-source: derived
  /v1/product-skus/{id}/model-files/{mappingId}:
    delete:
      summary: Remove model file mapping
      tags:
      - Product SKUs
      description: Delete the link between a SKU and a model file
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      - schema:
          type: string
          format: uuid
        in: path
        name: mappingId
        required: true
      responses:
        '204':
          description: Mapping deleted successfully
        '404':
          description: Mapping not found
          content:
            application/json:
              schema:
                type: object
                description: Mapping not found
                additionalProperties: true
      operationId: deleteV1ProductSkusByIdModelFilesByMappingId
      x-operation-id-source: derived
  /v1/product-skus/{id}/model-files/{mappingId}/validate:
    post:
      summary: Validate model file mapping
      tags:
      - Product SKUs
      description: Validate filament requirements and compatibility for a model file mapping
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      - schema:
          type: string
          format: uuid
        in: path
        name: mappingId
        required: true
      responses:
        '200':
          description: Validation completed
          content:
            application/json:
              schema:
                type: object
                description: Validation completed
                additionalProperties: true
        '404':
          description: Mapping not found
          content:
            application/json:
              schema:
                type: object
                description: Mapping not found
                additionalProperties: true
      operationId: postV1ProductSkusByIdModelFilesByMappingIdValidate
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      description: 'Consistent Print Hive API error body: a machine-readable error code and a human-readable message.'
      properties:
        error:
          type: string
          description: Machine-readable error code.
        message:
          type: string
          description: Human-readable explanation of the failure.
      required:
      - error
      - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    apiKey:
      type: apiKey
      in: header
      name: x-api-key