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

# printJobsCreate

> Print PDFs through PrintNode using the team's print queue, the same way the Redo app prints. Each URL becomes one print job, printed in the order given. Returns the jobs in that order; poll printJob or printJobs for status.

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

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

## Arguments

**input** `[PrintJobsCreateInput!](/docs/api-reference/v3/reference/shipping/print-jobs-create-input)` *required*

What to print and where.

**fields**

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

What the files are, as the Redo app would print them. It picks the workstation's printer options and the print title.

**idempotencyKey** `String!` *required*

1 to 400 characters, scoped to the store. Send the same key when you retry and nothing prints twice: the same key returns the jobs it already queued.

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

A printer from the workstations query.

**urls** `[String!]!` *required*

1 to 50 PDF URLs PrintNode can download, one print job each, queued in this order.

**workstationId** `ID`

A workstation from the workstations query, to use the options it saves for this printer.

## Returns

**printJobsCreate** `[\[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}
mutation {
  printJobsCreate(input: { ... }) {
    createdAt
    documentType
    finishedAt
    id
    printerId
    sentAt
    status
  }
}
```


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