---
title: "Commit Shipments"
method: POST
path: "/commitshipments"
tags: ["ShipmentApi"]
---

# Commit Shipments

`POST /commitshipments`

Commits the specified shipments and returns their labels.Committed shipments are marked as ready for processing and dispatch.

## Query parameters

- `skipimport` boolean
- `layoutid` integer
- `skipdocument` boolean
- `dataonly` boolean
- `includereturnlabel` boolean

## Request body

- integer[]

## Response `200`

OK

- ICommitShipmentResultClientAPIPrintShipmentsResultDto
  - `status` 'OK' | 'Error' | 'ValidationFailed' — 0 = OK, 1 = Error, 2 = ValidationFailed
  - `validations` ClientAPIValidation[], nullable
    - `code` integer
    - `message` string, nullable
    - `params` object, nullable
  - `data` ICommitShipmentResult[], nullable
  - `labelsbase64` string, nullable
  - `returnLabelsbase64` string, nullable
  - `numberOfLabels` integer, nullable
  - `error` ClientAPIError
    - `code` integer
    - `message` string, nullable
    - `stackTrace` string, nullable
    - `innerException` ClientAPIError — recursive
    - `validations` ClientAPIValidation[], nullable
      - `code` integer
      - `message` string, nullable
      - `params` object, nullable
    - `messageParams` string[], nullable
    - `payload` JToken[]
  - `traceID` string, nullable

---

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