---
title: "Fetch QR codes for a shipment"
method: GET
path: "/shipments/{id}/qr_code"
tags: ["Shipments"]
---

# Fetch QR codes for a shipment

`GET /shipments/{id}/qr_code`

Fetches a QR code for a given shipment request. It is only possible to fetch QR codes for shipments booked with the QR code service.

## Path parameters

- `id` integer, required

## Query parameters

- `file_format` 'png' | 'pdf'

## Response `200`

Successful.

- QrCode2
  - `qr_codes` string[] — An array containing base64 encoded qr_codes
  - `file_format` string — The file format for response

## Other responses

- `401` — Unauthorized.
- `404` — Resource not found.
- `422` — Invalid or not found parameter(s)

---

[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/versions/dbe9a4ea0826/schema)
