---
title: "CreatePDFfromJobForceTemplateStockIn"
method: POST
path: "/api/PrintService/CreatePDFfromJobForceTemplateStockIn"
tags: ["PrintService"]
---

# CreatePDFfromJobForceTemplateStockIn

`POST /api/PrintService/CreatePDFfromJobForceTemplateStockIn`

## Request

- Base URL: `https://eu-ext.linnworks.net`
- URL: `https://eu-ext.linnworks.net/api/PrintService/CreatePDFfromJobForceTemplateStockIn`
- Auth: API key in header `Authorization`

Creates a PDF file from a print job request
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- PrintServiceCreatePDFfromJobForceTemplateStockInRequest
  - `templateType` string: The template type
  - `PrintingKeys` PrintingKey[]: A list of IDs to print (e.g. Order IDs or Warehouse Transfer IDs)
    - `BatchInventoryId` integer
    - `Key` string, uuid
    - `LocationId` string, uuid
    - `Quantity` integer
  - `templateID` integer: The ID of the template to use
  - `parameters` KeyValueRequest[]
    - `Key` string
    - `Value` string
  - `printerName` string: printer name of the virtual printer to use. If null then the sepecified in the template
  - `printZoneCode` string: Print zone code, if present, will override the printer used if the template has a set printer for that zone
  - `pageStartNumber` integer: The starting page of the document to generate from (optional, default to 0)
  - `operationId` string, uuid: The ID of the current operation, used in logging for tracing (optional, default to null)
  - `context` ClientContext
    - `Module` string

## Response `200`

OK

- CreatePDFResult
  - `KeyedError` PrintError[]
    - `TemplateType` string
    - `Id` string, uuid
    - `Error` string
    - `Tags` PrintErrorTags[]
      - `Tag` string
      - `Value` string
  - `URL` string: URL to PDF file
  - `IdsProcessed` string[]: List of processed order or item IDs
  - `ProcessedIds` object
  - `PageCount` integer
  - `PrintErrors` string[]: List of OrderId / Error message

---

[API](https://skmtc.dev/linnworks/apis/print-service-api.md) - [All operations](https://skmtc.dev/linnworks/apis/print-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linnworks/apis/print-service-api/revisions/b29ad2e37bac?raw)
