---
title: "Confirm shipment and order pickup."
method: POST
path: "/rest/api/shipping/carrier-document/"
tags: ["Shipment"]
---

# Confirm shipment and order pickup.

`POST /rest/api/shipping/carrier-document/`

## Request body

- RestShippingConfirmationsDTO — This object represents an list of shipping confirmations.
  - `shippingConfirmations` RestShippingConfirmationDTO[], required — List of shipping confirmations
    - `shipmentId` integer, required — Internal shipment ID
    - `type` 1 | 2, required — Carrier document type (1 - TYPE_SEND_FROM_STACK, 2 - TYPE_CMR)
    - `pickupId` string — Pickup ID form <a href='#tag/Shipment/operation/post_rest_shipment_pickup_date_proposal'>Get shipment pick up date proposal</a> or NULL

## Response `201`

Shipping confirmation created

- RestShippingConfirmationsListingResponseDTO — This object represents an list of shipping confirmations.
  - `shippingConfirmations` RestShippingConfirmationsListingItemDTO[] — List of shipping confirmations
    - `id` integer — Carrier Document ID
    - `media` string — Null or media UUID - <a href='#tag/media/operation/get_rest_media_get'>media attachment endpoint</a>
    - `shipments` RestShipmentIdDTO[] — List of shipment IDs
      - `id` integer — Internal shipment ID
    - `error` RestShippingConfirmationsErrorDTO — This object represents an shipping confirmation error.
      - `pickupError` boolean — Information whether an error occurred when ordering Pickup
      - `pickupErrorMessage` string — Information what error occurred when ordering Pickup
      - `shippingConfirmationError` boolean — Information whether an error occurred while shipping confirmation
      - `shippingConfirmationErrorMessage` string — Information what error occurred while shipping confirmation

## Other responses

- `400` — The request body must contain at least one shipment confirmation
- `401` — Authorization failed
- `413` — The limit of 128 shipment confirmations has been exceeded
- `422` — Validation error

---

[API](https://skmtc.dev/apilo/apis/apilo-rest-api.md) · [All operations](https://skmtc.dev/apilo/apis/apilo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apilo/apilo-rest-api/revisions/a0f9dcdba6cc/schema)
