printcore.aiLearn
Printcore · REST API v1

Printcore API Reference

Connect your storefronts and systems to Printcore. Create jobs and customers, attach artwork and proofs, keep your price list in sync, and get notified when work moves through the shop.

Getting started

This is the quick guide. The full reference, with every field, OAuth 2.0 for apps used by many shops, and a downloadable OpenAPI file, is at printcore.ai/developers.

  1. Create an API key. In Printcore, open Shop Settings → API & Webhooks and choose Generate API Key. Give it a name, set the scope to Read & Write to create and update records (or Read Only to look things up), then choose Create Key. The key is shown once, so copy it somewhere safe.
  2. Send it with every request in the X-API-Key header. Keys belong to one shop and only ever see that shop's data.
  3. Make a first call to list your most recent jobs:
curl https://us-central1-quickbooks-app-c5298.cloudfunctions.net/api/v1/jobs?limit=5 \
  -H "X-API-Key: pk_live_your_key_here"

Treat the key like a password. Keep it on your server, never in a web page or app that customers download. If a key leaks, revoke it in the same settings screen and make a new one.

Permissions

Key typeCan do
Read OnlyRead jobs, quotes, customers, job files, products and inventory.
Read & WriteEverything above, plus create and update jobs, quotes, customers, job files and products.

Keys created before the products API launched (late November 2026) can read products but not change them. Create a new key to sync products.

Requests & errors

Send JSON bodies with Content-Type: application/json. Successful responses wrap the result in data. Dates are ISO 8601 strings; due dates are plain YYYY-MM-DD. Money is in your shop's currency.

{ "data": { "id": "8vmF8TlNdadmtV4I4aIz", "jobNumber": 1042, "projectName": "Trade Show Banner" } }

Errors return a status code and a message saying what to fix:

{ "error": "projectName is required" }
StatusMeaning
200 / 201Success / created.
400Something in the request is missing or invalid. The message names it.
401Missing, wrong, revoked or expired API key.
403The key's type doesn't allow this (for example, a Read Only key trying to write).
404Not found, or it belongs to another shop.
409Can't be done in the current state (for example, finishing an upload before sending the file).
429Too many requests. Wait a minute and retry.

Paging through lists

List endpoints return up to limit records (default 25, max 100) and a pagination object. When hasMore is true, pass nextCursor as cursor to get the next page.

{ "data": [ … ], "pagination": { "count": 25, "hasMore": true, "nextCursor": "abc123" } }

Jobs

A job is an order moving through the shop: Quote → Approved → Prepress → Production → Finishing → Shipping → Invoice/Complete.

GET/jobsread

Newest first. Query: limit, cursor, status (for example ?status=Production).

GET/jobs/{id}read

One job with its line items.

POST/jobswrite

Creates a job and gives it your shop's next job number.

FieldTypeNotes
projectNamerequiredstringUp to 200 characters.
customerIdstringA Printcore customer id. Links the job to that customer and their portal, and fills in the name.
customerNamestringDisplay name, if you don't send customerId.
statusstringQuote (default), Approved, Prepress, Production, Finishing, Shipping, Invoice/Complete, Completed, Archived.
dueDatestringYYYY-MM-DD.
notesstringUp to 5,000 characters.
lineItemsarrayUp to 50. Each: description, quantity, unitPrice, material, and optional specifications: up to 30 { "label", "value" } pairs.
curl -X POST $BASE/jobs -H "X-API-Key: $KEY" -H "Content-Type: application/json" -d '{
  "projectName": "Trade Show Banner",
  "customerId": "cus_8f2k…",
  "status": "Approved",
  "dueDate": "2026-12-12",
  "lineItems": [
    { "description": "4x8 Banner", "quantity": 2, "unitPrice": 85, "material": "13oz Vinyl",
      "specifications": [ { "label": "Finishing", "value": "Hem & grommets" } ] }
  ]
}'

PATCH/jobs/{id}write

Change projectName, customerName, customerId, status, dueDate or notes. Only the fields you send change.

Quotes

POST/quoteswrite

Same body as POST /jobs without status. The job starts as a Quote, ready for your team to review and send.

Don't have prices? Send the customer's request to POST /quote-requests instead (name or email, plus what they need). It lands in the shop's AI Quote inbox, where the team prices it with Printcore's own calculators. Add externalId to make retries safe. Details in the reference.

Customers

GET/customersread

Query: limit, cursor.

GET/customers/{id}read

POST/customerswrite

FieldTypeNotes
namerequiredstringPerson or company name.
email, phone, company, notesstring
addressstring or objectObject form: line1, line2, city, state, zip.

Create the customer first, then pass its id as customerId when you create jobs, so their orders show in their portal.

Job files

Add artwork, proofs and print-ready files to a job. They appear on the job's Files & Proof tab, labelled API. There are two ways in.

POST/jobs/{id}/fileswrite

Attach links to files you host elsewhere. The job keeps the link, so it must stay reachable. Up to 20 per request; links already on the job are skipped.

curl -X POST $BASE/jobs/$JOB_ID/files -H "X-API-Key: $KEY" -H "Content-Type: application/json" -d '{
  "files": [ { "url": "https://files.example.com/proof-v2.pdf", "name": "Proof v2.pdf" } ]
}'

Upload a file (up to 2 GB)

  1. POST /jobs/{id}/files/uploads with the file's name, size in bytes and contentType. You get back an uploadId, an uploadUrl, the method and headers to use, and when the link expires (15 minutes).
  2. Send the file's bytes straight to uploadUrl with that method and those headers. No API key on this request.
  3. POST /jobs/{id}/files/uploads/{uploadId}/complete. Printcore checks the file and adds it to the job. Calling it again is safe and returns the same file.
# 1. Start
curl -X POST $BASE/jobs/$JOB_ID/files/uploads -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  -d '{ "name": "Banner print-ready.pdf", "size": 48213344, "contentType": "application/pdf" }'

# 2. Send the file to the uploadUrl you got back
curl -X PUT "$UPLOAD_URL" -H "Content-Type: application/pdf" --data-binary @"Banner print-ready.pdf"

# 3. Finish
curl -X POST $BASE/jobs/$JOB_ID/files/uploads/$UPLOAD_ID/complete -H "X-API-Key: $KEY"

Accepted types: PDF, AI, EPS, PS, SVG, PNG, JPG, GIF, WEBP, TIFF, BMP, HEIC, PSD, PSB, INDD, IDML, CDR, DXF, DWG, PLT, ZIP, TXT, CSV, XLSX, XLS, DOCX, DOC.

GET/jobs/{id}/filesread

Every file on the job, with a working link to each. stored: true means Printcore holds the file; false means it's a link to somewhere else.

{ "data": [ { "index": 0, "name": "Banner print-ready.pdf", "url": "https://firebasestorage.googleapis.com/…",
  "stored": true, "uploadedAt": "2026-11-26T15:00:00.000Z", "source": "api", "size": 48213344, "type": "application/pdf" } ] }

Products & pricing

Keep one master price list and send it to Printcore, so quotes match your website. A product has a price per piece, an optional setup fee and minimum charge, quantity breaks, and the options customers pick. Products are matched by your own SKU, so you can resend your whole list safely.

The product object

{
  "id": "zUmvWEGBod88fTH1WOUJ",
  "sku": "BAN-13",
  "name": "Vinyl Banner 13oz",
  "description": "",
  "category": "Wide Format",
  "active": true,
  "price": 4.5,
  "cost": 1.2,
  "setupFee": 10,
  "minimumCharge": 25,
  "quantityBreaks": [ { "minQuantity": 10, "price": 4 }, { "minQuantity": 50, "price": 3.5 } ],
  "breaksApplyToOptions": false,
  "options": [
    { "key": "finish", "label": "Finish", "type": "choice", "priceType": "per_unit", "default": "Matte",
      "choices": [ { "label": "Matte", "price": 0 }, { "label": "Gloss", "price": 0.5 } ] },
    { "key": "turnaround", "label": "Turnaround", "type": "choice", "priceType": "percent",
      "choices": [ { "label": "Standard", "price": 0 }, { "label": "Rush", "price": 25 } ] },
    { "key": "grommets", "label": "Grommets", "type": "number", "pricePerEach": 0.25 }
  ],
  "managedByApi": true,
  "updatedAt": "2026-11-27T00:30:00.000Z"
}
FieldMeaning
pricePrice per piece.
quantityBreaksFrom minQuantity up, price replaces the per-piece price. Each break can also have its own setupFee.
setupFeeAdded once per line.
minimumChargeThe least the line can cost.
costWhat the product costs you. Never shown to customers.
categoryA name from GET /categories, such as Wide Format or Digital Press.
breaksApplyToOptionsWhen true, the quantity-break discount also comes off option prices.
activeInactive products can't be added to new quotes.

Options

TypeCustomer doesHow it prices
choicePicks one of choicespriceType: "per_unit" adds the choice's price to each piece. "percent" raises the piece price by that percentage.
numberEnters a countpricePerEach × the count is added to each piece.
textTypes a noteNo price.
advancedAn option set up in Printcore that the API can't express. It's shown so you know it's there, and the API never changes or removes it.

Choice labels can't contain parentheses, % or +$. Put prices in price, not in the label.

POST/products/syncwrite

Create and update up to 100 products in one request. Start with "dryRun": true to see exactly what would change. Nothing is saved until you send it without dryRun.

curl -X POST $BASE/products/sync -H "X-API-Key: $KEY" -H "Content-Type: application/json" -d '{
  "dryRun": true,
  "products": [
    { "sku": "BAN-13", "price": 4.75 },
    { "sku": "SIGN-18x24", "name": "Yard Sign 18x24", "category": "Wide Format", "price": 12,
      "options": [ { "label": "Sides", "type": "choice", "choices": [ "Single", { "label": "Double", "price": 3 } ] } ] }
  ]
}'
{ "data": { "dryRun": true, "summary": { "update": 1, "create": 1 },
  "results": [
    { "index": 0, "sku": "BAN-13", "action": "update", "changes": [ { "field": "price", "from": 4.5, "to": 4.75 } ] },
    { "index": 1, "sku": "SIGN-18x24", "action": "create", "changes": [ … ] }
  ] } }
  • Each result's action is create, update, unchanged, deactivate or error. A row with an error is reported on its own and doesn't stop the others.
  • New products need sku, name, category and price. On updates, only the fields you send change. Sending options replaces all of that product's options except advanced ones.
  • "deactivateMissing": true switches off products the API manages that aren't in your list. They're never deleted, so past quotes and jobs keep their history. Products made in Printcore that you never gave a SKU are not touched.

PUT/products/sku/{sku}write

Create or update one product by SKU. Same fields as a sync row.

PATCH/products/{id}write

Update one product by its Printcore id. Use this to give products you already built in Printcore your SKUs: { "sku": "BC-STD" }.

GET/productsread

All your products. Query: sku, active=true or false. Also GET /products/{id} for one, and GET /categories for category names.

Products kept in sync by the API show a Managed by API badge in Printcore, with a note that changes made there will be overwritten by the next sync. Quotes already made keep their prices. Every change appears in your Audit Trail.

Inventory

GET/inventoryread

Your materials and stock. Query: limit, cursor.

Webhooks

Webhooks tell your system when something happens in Printcore. Add one in Shop Settings → API & Webhooks → Add Webhook: enter your URL, pick the events, and copy the signing secret shown once. Apps can also subscribe themselves with POST /webhooks (see the reference).

EventSent when
quote.createdA quote is created.
quote.sentA quote is emailed to the customer (every send).
quote.viewedThe customer opens a quote for the first time.
job.createdA job is created.
job.updatedA job's details change.
job.status_changedA job moves to a new status. Includes previousStatus and newStatus.
job.step_startedA production step starts.
job.step_completedA production step is finished.
job.deletedA job is deleted.
quote.approvedA quote is approved.
proof.approvedThe customer approves a proof.
proof.revision_requestedThe customer asks for changes to a proof.
order.shippedA job moves to Shipping.
order.completedA job moves to Invoice/Complete.
shipment.createdA shipping label is bought (one event per label).
payment.receivedA payment comes in (card, ACH, or recorded by hand).
inventory.low_stockA material drops to its reorder level.
customer.createdA customer is added.
customer.updatedA customer's details change.

What you receive

A JSON POST to your URL with these headers: X-Printcore-Event, X-Printcore-Event-Id, X-Printcore-Signature, X-Printcore-Attempt. The id stays the same on every retry, so you can ignore an event you've already handled.

{
  "id": "evt_5c1f0a9d2b7e4c63a1f8d0e2b9c4a7f1",
  "type": "job.status_changed",
  "createdAt": "2026-11-26T14:30:00.000Z",
  "tenantId": "your-shop-id",
  "event": "job.status_changed",
  "version": "1",
  "timestamp": "2026-11-26T14:30:00.000Z",
  "data": {
    "jobId": "abc123",
    "previousStatus": "Production",
    "newStatus": "Shipping",
    "job": { "jobNumber": 1042, "projectName": "Banner Order", "customerName": "Acme Corp", "status": "Shipping", "dueDate": "2026-12-12" }
  }
}

Check the signature

X-Printcore-Signature is an HMAC-SHA256 of the exact request body, signed with your webhook's secret. Compute it over the raw body as received, before parsing it:

const crypto = require('crypto');
const express = require('express');
const app = express();

app.post('/printcore-webhook', express.raw({ type: 'application/json' }), (req, res) => {
  const expected = crypto.createHmac('sha256', process.env.PRINTCORE_WEBHOOK_SECRET)
    .update(req.body)            // raw bytes, exactly as sent
    .digest('hex');
  const given = req.get('X-Printcore-Signature') || '';
  if (given.length !== expected.length ||
      !crypto.timingSafeEqual(Buffer.from(given), Buffer.from(expected))) {
    return res.status(401).send('Bad signature');
  }
  const event = JSON.parse(req.body);
  // handle event.type / event.data … (skip it if you've seen event.id)
  res.sendStatus(200);
});

Delivery

  • Reply with any 2xx status within 10 seconds.
  • Failed deliveries are retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours (7 tries over about 21 hours).
  • After 10 events in a row can't be delivered, the webhook is switched off. Turn it back on in settings, where you can also see each delivery, its retries, and send a test.

Limits

WhatLimit
Requests per key60 per minute
Records per list page100
Line items per job50
File links per request20
Upload size2 GB per file
Files per job200
Products per sync100
Webhooks per shop50

Help

Full reference: printcore.ai/developers. Questions, or want a hand with your first sync? Email [email protected]