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

# PrintTemplatePreview

`POST /api/PrintService/PrintTemplatePreview`

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.net/linnworks/apis/authenticate-api.md) · [All operations](https://skmtc.net/linnworks/apis/authenticate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linnworks/authenticate-api/revisions/0123569a22fb/schema)
