> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MarkPackageShippedCommandRequestInput

> Marks a package as shipped: sets the shipping date and, if given, the tracking number. When the last open package of the delivery note is shipped, the delivery note counts as shipped and its shipping is completed: the shipment is reported to the sales channel of the order, the shipping confirmation mail is sent if the shipping method and the settings ask for it and it was not sent yet, open drop-shipping and fulfillment orders of the delivery note are closed, and the workflow event 'delivery note shipped' fires. A refused action reports 'errorCode' (the main reason) and 'blockers' (all reasons, each with 'code' and 'message'). errorCode is one of: PACKAGE_NOT_FOUND (the package was not found); PACKAGE_ALREADY_SHIPPED (the package already has a shipping date); SHIPPING_DATE_OUT_OF_RANGE (the shipping date is outside the supported range); TRACKING_NUMBER_INVALID (the tracking number is empty, longer than 255 characters or does not match the rule of the shipping method); DELIVERY_NOTE_HANDLED_BY_FULFILLMENT_NETWORK (the delivery note is handled by the JTL Fulfillment Network and cannot be changed here). - Request



**Kind**: `input`

## Fields

**`packageId`**: `ID!` (required)

The ID of the package.

---

**`shippedAt`**: `DateTime`

The shipping date. Defaults to now.

---

**`trackingNumber`**: `String`

The tracking number. When omitted, the tracking number of the package stays.

---

**`disableAutomaticWorkflows`**: `Boolean`

Suppresses the automatic workflow triggers of this call. Defaults to false when omitted.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

