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

# PrintTemplatePreview

`POST /api/PrintService/PrintTemplatePreview`

## Request

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

Generate a PDF preview of a specific template
<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

- PrintServicePrintTemplatePreviewRequest
  - `templateId` integer: Template id

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