---
title: "Request a shipping label"
method: POST
path: "/shipments/{shipment_id}/generate_label"
tags: ["Shipments"]
---

# Request a shipping label

`POST /shipments/{shipment_id}/generate_label`

## Request

- Base URL: `https://api.whatnot.com/seller-api/rest/v2`
- URL: `https://api.whatnot.com/seller-api/rest/v2/shipments/{shipment_id}/generate_label`
- Auth: OAuth 2
  - Authorization code: `https://api.whatnot.com/seller-api/rest/oauth/authorize`
  - Token URL: `https://api.whatnot.com/seller-api/rest/oauth/token`

Queue label generation using the shipment's saved settings. HTTP 200 means enqueued, not generated. Preflight errors are returned synchronously. Receive successful labels through the label-created webhook; worker failures are not currently exposed by this API.

## Path parameters

- `shipment_id` string, required

## Response `200`

Successful Response

- LabelGenerationAcceptedResponse
  - `shipment_id` string, required: Shipment whose label generation was requested.

## Other responses

- `403`: Seller verification required, or insufficient scope.
- `404`: Shipment not found.
- `409`: Shipment state, settings, or seller setup prevents generation.
- `422`: Validation Error
- `503`: Label generation is unavailable.

---

[API](https://skmtc.dev/whatnot/apis/whatnot-seller-api.md) - [All operations](https://skmtc.dev/whatnot/apis/whatnot-seller-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whatnot/apis/whatnot-seller-api/revisions/e619f15f7ce0?raw)
