Generated by API Evangelist
Written by API Evangelist tooling for DHL's API. It is a proposal applied on top of the contract, not a document DHL publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Dhl Items API
version: 1.0.0
extends: openapi/dhl-items-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/dpi/shipping/v1/items/{itemId}'].get
update:
x-apievangelist-phrasing:
intent: Get a shipping item
effect: read
questions:
- What details are stored for a single shipping item?
- Can I look up one item by its id?
instructions:
- text: Get item {itemId}.
slots:
itemId: path.itemId
- text: Show the details of shipping item {itemId}.
slots:
itemId: path.itemId
method: generated
generated: '2026-11-16'
- target: $.paths['/dpi/shipping/v1/items/{itemId}'].put
update:
x-apievangelist-phrasing:
intent: Update a shipping item
effect: write
questions:
- Can I change the recipient address on an item in an open order?
- Which item fields are not updatable?
instructions:
- text: Update item {itemId} to recipient {recipient}, {city}, {destinationCountry}, {product}, {serviceLevel}, {shipmentGrossWeight} g.
slots:
itemId: path.itemId
recipient: requestBody.recipient
city: requestBody.city
destinationCountry: requestBody.destinationCountry
product: requestBody.product
serviceLevel: requestBody.serviceLevel
shipmentGrossWeight: requestBody.shipmentGrossWeight
- text: Change the address of item {itemId} to {addressLine1}, {city}, {postalCode}, {destinationCountry}.
slots:
itemId: path.itemId
addressLine1: requestBody.addressLine1
city: requestBody.city
postalCode: requestBody.postalCode
destinationCountry: requestBody.destinationCountry
method: generated
generated: '2026-11-16'
- target: $.paths['/dpi/shipping/v1/items/{itemId}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a shipping item
effect: destructive
questions:
- Can I remove an item from an open order?
- Why does deleting an item fail on a finalized order?
instructions:
- text: Delete item {itemId}.
slots:
itemId: path.itemId
- text: Remove shipping item {itemId} from its order.
slots:
itemId: path.itemId
method: generated
generated: '2026-11-16'
- target: $.paths['/dpi/shipping/v1/items/{itemId}/label'].get
update:
x-apievangelist-phrasing:
intent: Get a shipping item's label
effect: read
questions:
- Can I download the label for a shipping item?
- What format is the item label returned in?
instructions:
- text: Get the label for item {itemId}.
slots:
itemId: path.itemId
- text: Download a label for shipping item {itemId} as {accept}.
slots:
itemId: path.itemId
accept: header.accept
method: generated
generated: '2026-11-16'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.