---
title: "Create a print job"
method: POST
path: "/print_jobs"
tags: ["Print client"]
---

# Create a print job

`POST /print_jobs`

Creates a print job.


Print jobs are sent to the print client on the specified host to print documents.


Related articles:

- [Shipmondo Print Client installation and setup guide](https://help.shipmondo.com/en/articles/2564458-shipmondo-print-client-installation-and-setup-guide)

## Request body

- PrintJob
  - `document_id` integer, required — Identifier for the provided document_type.
  - `document_type` 'shipment' | 'sales_order' | 'fulfillment' | 'proforma' | 'waybill', required — Type of document that should be printed.
  - `host_name` string, required — The name of the computer/host to print at.
  - `printer_name` string, required — The name of the printer that should be printed on.
  - `label_format` 'a4_pdf' | '10x19_pdf' | '10x19_zpl' | 'compact_pdf' | 'compact_zpl', required — The given format of the print job. Label_formats: compact_pdf and compact_zpl, is only compatible with document_type: shipment.

## Response `200`

Successful.

- object
  - `success` boolean — Identicates if the creation of print job was successful or not

## Other responses

- `401` — Unauthorized.
- `404` — Resource not found.

---

[API](https://skmtc.net/shipmondo/apis/shipmondo-api.md) · [All operations](https://skmtc.net/shipmondo/apis/shipmondo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipmondo/shipmondo-api/revisions/3b9f91693dec/schema)
