Fulfillment Manager API · printing
Print a document at a site
POST /print-jobs
Print a document at a site: a consignment's label, or copies of a SKU's label, laid out by Manifold.
It goes to the printer named, else to the site's default printer for its purpose; 409 NoPrinterForJob when there is none, 409 PrinterCannotPrint when the printer cannot take it (a PDF label to a ZPL printer), 409 PrintDocumentMissing when the consignment has no label stored yet. The job waits, queued, for the printer's print agent. Printing stays at the organization's own sites, so read-only mode does not hold it. Appends fulfillment.print-job-requested. Idempotent on jobId, the caller's: a retry with the same id answers the job as it stands and prints nothing twice; the same id for a different request is 409 PrintJobIdTaken. A reprint is a new jobId.
Access
Requires printing:write.
How scopes come from roles: Scopes and roles. Getting a token: Authentication and app tokens.
Retries
Idempotent on jobId, the caller's: a retry with the same id answers the job as it stands and prints nothing twice; the same id for a different request is 409 PrintJobIdTaken.
A retry with the same key answers 200, with what the first call recorded.
Why every write carries a key: Idempotency and retries.
Facts appended
fulfillment.print-job-requested
What a fact is: Facts and the journal.
AI agent tool
Agents call this as fulfillment_request_print (Fulfillment: Request print), in the printing toolset.
Connecting an agent: AI agents.
Example
curl -X POST 'https://fulfillment.getmanifold.io/print-jobs' \
-H "Authorization: Bearer $MANIFOLD_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"jobId": "pjb_01a15a20-4400-7e55-8f66-6f7a8b9c0d1e",
"locationId": "loc_01a0f6b0-1100-7e51-8f62-7a8b9cadbec4",
"document": {
"_tag": "sku-labels",
"sku": "MUG-SPECKLE",
"copies": 12
}
}'const response = await fetch("https://fulfillment.getmanifold.io/print-jobs", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.MANIFOLD_TOKEN}`, "Content-Type": "application/json" },
body: JSON.stringify({
"jobId": "pjb_01a15a20-4400-7e55-8f66-6f7a8b9c0d1e",
"locationId": "loc_01a0f6b0-1100-7e51-8f62-7a8b9cadbec4",
"document": {
"_tag": "sku-labels",
"sku": "MUG-SPECKLE",
"copies": 12
}
}),
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const answer = await response.json();{
"jobId": "pjb_01a15a20-4400-7e55-8f66-6f7a8b9c0d1e",
"locationId": "loc_01a0f6b0-1100-7e51-8f62-7a8b9cadbec4",
"document": {
"_tag": "sku-labels",
"sku": "MUG-SPECKLE",
"copies": 12
}
}{
"id": "pjb_01a15a20-4400-7e55-8f66-6f7a8b9c0d1e",
"locationId": "loc_01a0f6b0-1100-7e51-8f62-7a8b9cadbec4",
"printerId": "prn_01a15a10-2c00-7a11-8b22-3c4d5e6f7a8b",
"agentId": "pag_01a15a0f-9e00-7c33-8d44-5e6f7a8b9c0d",
"purpose": "sku-label",
"document": {
"_tag": "sku-labels",
"sku": "MUG-SPECKLE",
"copies": 12
},
"content": {
"name": "Speckled mug",
"barcode": "9312345000017"
},
"status": "queued",
"requestedAt": "2026-10-20T02:41:07.330Z",
"updatedAt": "2026-10-20T02:41:07.330Z"
}The panel writes this call in other languages. It does not send it: Manifold's APIs do not take calls from a web
page on another site, so run the call from your own code or terminal. The whole API as OpenAPI: fulfillment-manager.openapi.json. Base URL https://fulfillment.getmanifold.io.
Errors
Every refusal is a status and a JSON body whose _tag names it. A refused call changes nothing.
401
| Refusal | What it means | What to do |
|---|---|---|
Unauthorized reason | The token is missing, expired or not one Manifold issued. | Get a fresh token and send the call again. |
TokenAlreadyUsed tokenId | A single-use app token was already spent. | Mint a new token for this call. |
402
| Refusal | What it means | What to do |
|---|---|---|
SubscriptionRequired status | The organization's subscription has lapsed, so writes are refused. | An owner settles billing. Reads still work meanwhile. |
403
| Refusal | What it means | What to do |
|---|---|---|
PrintAgentOnly reason | This call is a print agent's alone, or a person's alone. reason says which. | Call it with the right credential. |
TenantRequired userId | The token names no organization. | Choose the organization, then get a new token. |
ScopeRequired required | The token's roles do not grant the scope this call needs. | Ask an owner or admin for a role that grants it. |
404
| Refusal | What it means | What to do |
|---|---|---|
FulfillmentOrderNotFound orderId | No such record in this organization. | Check the id in the path or the body. |
ConsignmentNotFound consignmentId | No such record in this organization. | Check the id in the path or the body. |
409
| Refusal | What it means | What to do |
|---|---|---|
NoPrinterForJob locationId, purpose, reason | Nothing at the site can take this job. reason says why: no default printer for the purpose, or the printer named is removed or elsewhere. | Make one of the site's printers the default, or name one. |
PrinterCannotPrint printerId, reason | The printer cannot print this document. reason says why. | Send it to a printer of the right kind. |
PrintDocumentMissing reason | What was asked to be printed is not there yet. reason says what. | Wait for the label to be stored, or check the SKU. |
PrintJobIdTaken jobId | The jobId was already used for a different print. | Mint a fresh pjb_ id for a new print or a reprint. |
MirroredFromSource source | This area is fed by your source system until the organization goes live. | Make the change in the source system, or go live first. |
502
| Refusal | What it means | What to do |
|---|---|---|
InventoryUnavailable reason | The inventory service did not answer, so nothing changed. | Send the same request again, with the same key. |
503
| Refusal | What it means | What to do |
|---|---|---|
RequestLogUnavailable tokenId, reason | The service could not record the request, so it did nothing. | Send the same request again, with the same key. |
How refusals work everywhere: Errors.
Used in
- Print labels at a site, step 8: Print twelve shelf labels
- Print labels at a site, step 9: Ask again