> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PrintJob

> A job in the team's print queue. RUNNING once it reaches PrintNode; SUCCEEDED when the printer reports it printed. `error.code` is PRINT_JOB_FAILED or PRINT_JOB_CANCELLED.

**[Emits](https://developers.redo.com/docs/api-reference/v3/reference/webhooks/overview):** `PRINT_JOB_STATUS_UPDATED`

**Required scopes:** [`shipping_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_read), [`shipping_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_write)

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the job was started.

**documentType** `[FulfillmentDocumentType!](/docs/api-reference/v3/reference/shipping/fulfillment-document-type)` *required*

What the printed file is.

**error** `[JobError](/docs/api-reference/v3/reference/common/job-error)`

Why the job failed. Null unless `status` is FAILED.

**fields**

**code** `String!` *required*

A stable code in SCREAMING\_SNAKE\_CASE. Branch on it, not on `message`.

**message** `String!` *required*

What went wrong, in words.

**finishedAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the job finished. Null while it is going.

**id** `ID!` *required*

Poll the job again with this id.

**printerId** `ID`

The printer it was sent to.

**sentAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When it was handed to PrintNode.

**status** `[JobStatus!](/docs/api-reference/v3/reference/common/job-status)` *required*

Where the job stands.

**workstation** `[Workstation](/docs/api-reference/v3/reference/shipping/workstation)`

The workstation whose printer options it used, or null when none was given or it was removed.

**fields**

**id** `ID!` *required*

Pass this as workstationId to printJobsCreate to use the options saved for its printer.

**name** `String!` *required*

The station's name.

**printers** `[\[WorkstationPrinter!\]!](/docs/api-reference/v3/reference/shipping/workstation-printer)` *required*

Which printer handles each page size.

**fields**

**format** `[PrintPageFormat!](/docs/api-reference/v3/reference/shipping/print-page-format)` *required*

The page size this printer handles.

**printerId** `ID!` *required*

Pass this as printerId to printJobsCreate.

**printerName** `String!` *required*

The printer's name as saved on the workstation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.