CircuitHub

Orders

Create and manage manufacturing orders for your PCB projects.

An order represents a manufacturing request in CircuitHub — placing PCBs for fabrication and assembly based on your project revisions. Each order belongs to a project and tracks production through to completion.

List orders

GET /v1/orders

circuithub order list --workspace acme-electronics

Output:

ID      Status        Date          Qty   Payment   Project
8001    in_progress   2025-03-01    10    paid      Power Supply Board
8002    completed     2025-02-28    25    paid      Sensor Module
curl -H "Authorization: Bearer $CIRCUITHUB_API_KEY" \
  "https://api.circuithub.com/v1/orders?workspace=acme-electronics"

Response:

{
  "orders": [
    {
      "id": 8001,
      "urn": "urn:circuithub:order:8001",
      "name": "ORD-8001",
      "status": "in_progress",
      "quantity": 10,
      "createdAt": "2025-03-01T14:00:00Z",
      "updatedAt": "2025-03-02T11:00:00Z",
      "quotedShippingDate": "2025-03-15T00:00:00Z",
      "estimatedShippingDate": "2025-03-14T00:00:00Z",
      "shippedDate": null,
      "trackingNumber": null,
      "shippingService": null,
      "value": 790.50,
      "paymentStatus": "paid",
      "poNumber": "PO-2025-042",
      "projectId": 12345,
      "projectName": "Power Supply Board",
      "revisionId": 99001,
      "revisionNumber": 3
    }
  ]
}

Query parameters

ParameterTypeDescription
workspacestringRequired. Workspace slug

Response fields

FieldTypeDescription
idintegerOrder ID
urnstringOrder URN
namestringOrder name/number
statusstringOrder status (e.g. in_progress, completed)
quantityintegerNumber of boards ordered
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 last update timestamp
quotedShippingDatestringQuoted shipping date, ISO 8601
estimatedShippingDatestring | nullEstimated shipping date, ISO 8601
shippedDatestring | nullActual ship date, ISO 8601
trackingNumberstring | nullShipment tracking number
shippingServicestring | nullShipping carrier/service
valuenumberOrder value in USD
paymentStatusstringPayment status
poNumberstringPurchase order number
projectIdintegerProject this order belongs to
projectNamestringProject name
revisionIdintegerProject revision used for this order
revisionNumberintegerHuman-readable revision number

Get an order

GET /v1/orders/:orderId

circuithub order show 8001

Output:

Order:    8001
URN:      urn:circuithub:order:8001
Name:     ORD-8001
Status:   in_progress
Quantity: 10
Value:    $790.50
Payment:  paid
PO:       PO-2025-042

Project:  Power Supply Board (ID: 12345, rev 3)

Created:  2025-03-01T14:00:00Z
Quoted:   2025-03-15T00:00:00Z
curl -H "Authorization: Bearer $CIRCUITHUB_API_KEY" \
  https://api.circuithub.com/v1/orders/8001

Response:

{
  "id": 8001,
  "urn": "urn:circuithub:order:8001",
  "name": "ORD-8001",
  "status": "in_progress",
  "quantity": 10,
  "createdAt": "2025-03-01T14:00:00Z",
  "updatedAt": "2025-03-02T11:00:00Z",
  "quotedShippingDate": "2025-03-15T00:00:00Z",
  "estimatedShippingDate": "2025-03-14T00:00:00Z",
  "shippedDate": null,
  "trackingNumber": null,
  "shippingService": null,
  "value": 790.50,
  "paymentStatus": "paid",
  "poNumber": "PO-2025-042",
  "projectId": 12345,
  "projectName": "Power Supply Board",
  "revisionId": 99001,
  "revisionNumber": 3
}

On this page