---
title: "Delete Item"
method: DELETE
path: "/dpi/shipping/v1/items/{itemId}"
tags: ["Items"]
---

# Delete Item

`DELETE /dpi/shipping/v1/items/{itemId}`

## Request

- Base URL: `https://api-sandbox.dhl.com`
- URL: `https://api-sandbox.dhl.com/dpi/shipping/v1/items/{itemId}`
- Auth: none declared. Required headers: `Authorization`

Deletes the item for the specified item id. <br><br>This operation only works for items attached to orders that are in the OPEN state. Called on items of orders in the FINALIZED state leads to an 404 error (an item with the desired attributes cannot be found).

## Path parameters

- `itemId` string, required

## Headers

- `Authorization` string, required

## Response `200`

Item successfully deleted.

## Other responses

- `403`: User 'xxx' has no permission.
- `404`: No item found for the given item id. Either no items with the given id exists at all or the item (or the order where the item is linked) is not in the right state.
- `500`: Internal error.

---

[API](https://skmtc.dev/dhl/apis/deutsche-post-international-shipping-api.md) - [All operations](https://skmtc.dev/dhl/apis/deutsche-post-international-shipping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dhl/apis/deutsche-post-international-shipping-api/revisions/33ba987e477f?raw)
