Skip to main content
POST
Ships an order after batch picking — packs it into packages and persists it to the database.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

x-companyid
string

The Company-Id (int or uuid) of the company on whose behalf the request is executed.

Body

application/json

Request parameters

Ships an order after batch picking — packs it into packages and persists it to the database. A package is marked shipped only when its DeliveryDate is supplied (and, for shipping methods that require a tracking id, only when its TrackingId is supplied); jtl-Shipping packages complete themselves. Each package carries its positions, shipping method, weight, dimensions, optional packaging materials, SSCC, tracking id and delivery date. Returns the created delivery note and packages. A per-package PackageId (for shipping-label retrieval) is only assigned when the shipping-preparation feature and licence are active. - Request

orderId
string<uuid>
required

The order to ship (kAuftrag).

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

picklistId
string<uuid>
required

The picklist associated with the order (kPickliste).

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

warehouseId
string<uuid>
required

The warehouse the packing runs on (kWarenLager).

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

userId
string<uuid>
required

The packing user (kBenutzer).

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

packages
object[]
required

The packages, each with its own positions, shipping method, weight, dimensions, packaging materials and SSCC.

comment
string

Optional packing comment (cKommentar).

isPartialDelivery
boolean

Whether this is a partial delivery; drives the SP packing mode.

Response

The order was shipped successfully (persisted to the database). Returns the created delivery note and its packages. PackageId is only assigned when the shipping-preparation feature and licence are active — without it no shipping label can be retrieved via GET v2/wms/shipping-line/packages/{packageId}/label.

The delivery notes and packages created by a ShipOrder call. Today one call creates exactly one delivery note; the list keeps the contract extensible.

deliveryNotes
object[]
required

The delivery notes created by this call (currently exactly one).