> ## 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.

# printJobs

> Fetch up to 50 print jobs by id, in the order given, to poll a batch at once. Ids that don't exist or aren't visible are left out.

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

**Store must have one of:** `OMS`, `WMS`

## Arguments

**ids** `[ID!]!` *required*

1 to 50 print job ids.

## Returns

**printJobs** `[\[PrintJob!\]!](/docs/api-reference/v3/reference/shipping/print-job)` *required*

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.

**fields**

**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.

## Example

```graphql theme={null}
query {
  printJobs(ids: "...") {
    createdAt
    documentType
    finishedAt
    id
    printerId
    sentAt
    status
  }
}
```


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