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.
- 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.
- Send it with every request in the
X-API-Keyheader. Keys belong to one shop and only ever see that shop's data. - 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 type | Can do |
|---|---|
| Read Only | Read jobs, quotes, customers, job files, products and inventory. |
| Read & Write | Everything 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" }| Status | Meaning |
|---|---|
200 / 201 | Success / created. |
400 | Something in the request is missing or invalid. The message names it. |
401 | Missing, wrong, revoked or expired API key. |
403 | The key's type doesn't allow this (for example, a Read Only key trying to write). |
404 | Not found, or it belongs to another shop. |
409 | Can't be done in the current state (for example, finishing an upload before sending the file). |
429 | Too 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.
| Field | Type | Notes |
|---|---|---|
projectNamerequired | string | Up to 200 characters. |
customerId | string | A Printcore customer id. Links the job to that customer and their portal, and fills in the name. |
customerName | string | Display name, if you don't send customerId. |
status | string | Quote (default), Approved, Prepress, Production, Finishing, Shipping, Invoice/Complete, Completed, Archived. |
dueDate | string | YYYY-MM-DD. |
notes | string | Up to 5,000 characters. |
lineItems | array | Up 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
| Field | Type | Notes |
|---|---|---|
namerequired | string | Person or company name. |
email, phone, company, notes | string | |
address | string or object | Object 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)
- POST
/jobs/{id}/files/uploadswith the file'sname,sizein bytes andcontentType. You get back anuploadId, anuploadUrl, themethodandheadersto use, and when the link expires (15 minutes). - Send the file's bytes straight to
uploadUrlwith that method and those headers. No API key on this request. - 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"
}| Field | Meaning |
|---|---|
price | Price per piece. |
quantityBreaks | From minQuantity up, price replaces the per-piece price. Each break can also have its own setupFee. |
setupFee | Added once per line. |
minimumCharge | The least the line can cost. |
cost | What the product costs you. Never shown to customers. |
category | A name from GET /categories, such as Wide Format or Digital Press. |
breaksApplyToOptions | When true, the quantity-break discount also comes off option prices. |
active | Inactive products can't be added to new quotes. |
Options
| Type | Customer does | How it prices |
|---|---|---|
choice | Picks one of choices | priceType: "per_unit" adds the choice's price to each piece. "percent" raises the piece price by that percentage. |
number | Enters a count | pricePerEach × the count is added to each piece. |
text | Types a note | No price. |
advanced | An 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
actioniscreate,update,unchanged,deactivateorerror. A row with an error is reported on its own and doesn't stop the others. - New products need
sku,name,categoryandprice. On updates, only the fields you send change. Sendingoptionsreplaces all of that product's options except advanced ones. "deactivateMissing": trueswitches 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).
| Event | Sent when |
|---|---|
quote.created | A quote is created. |
quote.sent | A quote is emailed to the customer (every send). |
quote.viewed | The customer opens a quote for the first time. |
job.created | A job is created. |
job.updated | A job's details change. |
job.status_changed | A job moves to a new status. Includes previousStatus and newStatus. |
job.step_started | A production step starts. |
job.step_completed | A production step is finished. |
job.deleted | A job is deleted. |
quote.approved | A quote is approved. |
proof.approved | The customer approves a proof. |
proof.revision_requested | The customer asks for changes to a proof. |
order.shipped | A job moves to Shipping. |
order.completed | A job moves to Invoice/Complete. |
shipment.created | A shipping label is bought (one event per label). |
payment.received | A payment comes in (card, ACH, or recorded by hand). |
inventory.low_stock | A material drops to its reorder level. |
customer.created | A customer is added. |
customer.updated | A 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
2xxstatus 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
| What | Limit |
|---|---|
| Requests per key | 60 per minute |
| Records per list page | 100 |
| Line items per job | 50 |
| File links per request | 20 |
| Upload size | 2 GB per file |
| Files per job | 200 |
| Products per sync | 100 |
| Webhooks per shop | 50 |
Help
Full reference: printcore.ai/developers. Questions, or want a hand with your first sync? Email help@printcore.ai