---
title: "POST /shipment/id/{id}/createReturnLabels"
method: POST
path: "/shipment/id/{id}/createReturnLabels"
tags: ["shipment"]
---

# POST /shipment/id/{id}/createReturnLabels

`POST /shipment/id/{id}/createReturnLabels`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/shipment/id/{id}/createReturnLabels`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/shipment/id/:id/createReturnLabels/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

createReturnLabels response

- object
  - `result` Document[]
    - `id` string
    - `version` string
    - `createdDate` integer
    - `description` string
    - `documentSize` integer
    - `documentType` 'ARTICLE_DATASHEET' | 'ARTICLE_LABEL' | 'BLANKET_PURCHASE_ORDER' | 'BLANKET_SALES_ORDER' | 'CANCELLATION_UBL' | 'CANCELLATION_XR' | 'CONTRACT' | 'CREDIT_ADVICE' | 'CREDIT_ADVICE_CANCELLATION' | 'CREDIT_ADVICE_PRELIMINARY_INVOICE' | 'CREDIT_ADVICE_UBL' | 'CREDIT_ADVICE_XR' | 'CRM_EVENT_LETTER' | 'CUSTOMER_ARTICLE_PRICE_LIST' | 'DUNNING' | 'INCOMING_GOODS' | 'INCOMING_GOODS_FROM_RETURN' | 'INCOMING_GOODS_RETURNS_PICKUP_NOTE' | 'INVENTORY_TAKING' | 'PERFORMANCE_RECORD' | 'PRODUCTION_ORDER' | 'PURCHASE_INVOICE' | 'PURCHASE_INVOICE_FATTURAPA' | 'PURCHASE_INVOICE_ZUGFERD' | 'PURCHASE_ORDER' | 'PURCHASE_ORDER_CANCELLATION' | 'PURCHASE_ORDER_DEFAULT' | 'PURCHASE_ORDER_REQUEST' | 'PURCHASE_ORDER_REQUEST_OFFER_ITEM_CSV' | 'PURCHASE_ORDER_REQUEST_SUPPLIER_DOCUMENT' | 'QUOTATION' | 'QUOTATION_DEFAULT' | 'SALES_INVOICE' | 'SALES_INVOICE_CANCELLATION' | 'SALES_INVOICE_CANCELLATION_DEFAULT' | 'SALES_INVOICE_DEFAULT' | 'SALES_INVOICE_FATTURAPA' | 'SALES_INVOICE_PRELIMINARY' | 'SALES_INVOICE_QR' | 'SALES_INVOICE_UBL' | 'SALES_INVOICE_XR' | 'SALES_ORDER' | 'SALES_ORDER_DEFAULT' | 'SHIPMENT_CUSTOMS_DECLARATION' | 'SHIPMENT_DELIVERY_LABEL' | 'SHIPMENT_DELIVERY_NOTE' | 'SHIPMENT_DELIVERY_NOTE_DEFAULT' | 'SHIPMENT_PICKING_LIST' | 'SHIPMENT_PROFORMA_INVOICE' | 'SHIPMENT_RETURN_DELIVERY_NOTE' | 'SHIPMENT_RETURN_LABEL' | 'SHIPMENT_SERIAL_NUMBERS_CSV' | 'TICKET' | 'ZUGFERD_VALIDATION'
    - `lastModifiedDate` integer
    - `mediaType` string, required
    - `name` string, required
    - `userId` string
    - `versions` DocumentVersion[]
      - `id` string
      - `version` string
      - `comment` string
      - `createdDate` integer
      - `documentSize` integer
      - `documentVersion` string
      - `lastModifiedDate` integer
      - `userId` string

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/shipment/id/:id/createReturnLabels/post.md)

---

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