---
title: "Patch Package Data"
method: PATCH
path: "/v2/deliveryNotes/packages/{packageId}"
tags: ["deliverynote"]
---

# Patch Package Data

`PATCH /v2/deliveryNotes/packages/{packageId}`

Transmit Package Data

## Path parameters

- `packageId` string, uuid, required

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Request body

- JTLWawiRestContractsModelsV1DeliveryNoteUpdateDeliveryNotePackagePosting — Model Class: UpdateDeliveryNotePackagePosting
  - `shippedDate` string, date-time — The date when the package was shipped.
  - `trackingID` string — The tracking Id of the package.
  - `comment` string — The comment of the package.

## Response `201`

Returns the package that are created for the delivery note.

- JTLWawiRestContractsModelsV1DeliveryNoteDeliveryNotePackage — Model Class: DeliveryNotePackage
  - `id` string, uuid
  - `packageDate` string, date-time — The date when the package was created.
  - `trackingID` string — The tracking Id of the package.
  - `weights` number — The weight of the package.
  - `shippingMethodId` string, uuid
  - `shippedDate` string, date-time — The date when the package was shipped.
  - `trackingUrl` string — The tracking url of the package.
  - `comment` string — The comment of the package.

## Other responses

- `401`
- `402` — No licence available or the app has not been authorised by JTL.
- `404` — No delivery note order with the given ID exists.

---

[API](https://skmtc.net/jtl-software/apis/scx-authentication-api.md) · [All operations](https://skmtc.net/jtl-software/apis/scx-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jtl-software/scx-authentication-api/revisions/f979b1ea6951/schema)
