Print Hive Orders API
Order management and processing endpoints
Order management and processing endpoints
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/printhiv3d-com:printhiv3d-com-orders-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: Print Hive API Documentation Orders 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: Orders
description: Order management and processing endpoints
paths:
/v1/v1/orders:
get:
summary: List orders
tags:
- Orders
description: Get paginated list of orders with filtering
parameters:
- schema:
type: integer
minimum: 1
default: 1
in: query
name: page
required: false
- schema:
type: integer
minimum: 1
maximum: 100
default: 20
in: query
name: limit
required: false
- schema:
type: string
enum:
- pending
- pending_sku_mapping
- processing
- completed
- failed
- cancelled
in: query
name: status
required: false
- schema:
type: string
in: query
name: order_source
required: false
- schema:
type: string
format: date-time
in: query
name: from_date
required: false
- schema:
type: string
format: date-time
in: query
name: to_date
required: false
- schema:
type: string
enum:
- auto
- customer_farm
- printhive
in: query
name: fulfillment_mode
required: false
- schema:
type: string
enum:
- pending
- processing
- partial
- completed
- failed
- skipped
- cancelled
in: query
name: computed_status
required: false
responses:
'200':
description: List of orders
content:
application/json:
schema:
type: object
description: List of orders
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1V1Orders
x-operation-id-source: derived
/v1/v1/orders/{id}:
get:
summary: Get order by ID
tags:
- Orders
description: Retrieve a single order with its items
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: Order retrieved successfully
content:
application/json:
schema:
type: object
description: Order retrieved successfully
'404':
description: Order not found
content:
application/json:
schema:
type: object
description: Order not found
operationId: getV1V1OrdersById
x-operation-id-source: derived
patch:
summary: Update order
tags:
- Orders
description: Update order fulfillment mode or status
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
fulfillment_mode:
type: string
enum:
- auto
- customer_farm
- printhive
order_status:
type: string
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: Order updated successfully
content:
application/json:
schema:
type: object
description: Order updated successfully
'404':
description: Order not found
content:
application/json:
schema:
type: object
description: Order not found
operationId: patchV1V1OrdersById
x-operation-id-source: derived
/v1/v1/orders/{id}/reprocess:
post:
summary: Reprocess order
tags:
- Orders
description: Retry processing a failed order
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: Order reprocessing initiated
content:
application/json:
schema:
type: object
description: Order reprocessing initiated
'400':
description: Order cannot be reprocessed
content:
application/json:
schema:
type: object
description: Order cannot be reprocessed
'404':
description: Order not found
content:
application/json:
schema:
type: object
description: Order not found
operationId: postV1V1OrdersByIdReprocess
x-operation-id-source: derived
/v1/orders/{id}/map:
post:
summary: Bulk map order items to model file
tags:
- Orders
description: Map multiple order items to a model file. Optionally persist SKU mappings for future auto-resolution.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- organizationId
- model_file_id
- mappings
- persist
properties:
organizationId:
type: string
format: uuid
model_file_id:
type: string
format: uuid
mappings:
type: array
items:
type: object
required:
- order_item_id
properties:
order_item_id:
type: string
format: uuid
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
persist:
type: boolean
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
jobsCreated:
type: number
persisted:
type: boolean
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: postV1OrdersByIdMap
x-operation-id-source: derived
/v1/orders/{id}/events:
get:
summary: Get order events
tags:
- Orders
description: Get activity/event log for an order
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: List of order events
content:
application/json:
schema:
type: array
description: List of order events
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1OrdersByIdEvents
x-operation-id-source: derived
/v1/v1/orders/{id}/jobs:
get:
summary: Get order jobs
tags:
- Orders
description: Get all print jobs created for an order
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: List of jobs for the order
content:
application/json:
schema:
type: object
description: List of jobs for the order
'404':
description: Order not found
content:
application/json:
schema:
type: object
description: Order not found
operationId: getV1V1OrdersByIdJobs
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