Customers
Get Available Items
Single items are not attached to an order. Adding items to an order can be done later.
get/dpi/shipping/v1/customers/{customerEkp}/items
Request
- Base URLhttps://api-sandbox.dhl.com
- Authnone declared. Required headers: Authorization
Path parameters
customerEkpstring required
The customers ekp for which all items are requested.
Query parameters
status'NEW' | 'ORDERED'
The status for which all items are requested. Can be empty, then the defaults to all items with the status NEW.
pageinteger
Page of the results to receive. Can be omitted, then the default is the first page (page # 0).
pageSizeinteger
Number of items per page. Can be omitted, then the default is 10 items per page.
Headers
Authorizationstring required
Bearer Auth access_token together with the "Bearer" prefix is required. Example of the header value:"Bearer 0UuA....."
Response
List of items that matches the given parameter.
Example response
[
{
"product": "GPT",
"serviceLevel": "PRIORITY",
"recipient": "Doris Bronson",
"addressLine1": "Uptown street 10",
"addressLine2": "2nd floor",
"postalCode": "SW1A 2AA",
"city": "London",
"destinationCountry": "GB",
"custRef": "BRE-2021-XIT",
"recipientPhone": "+441234567890",
"recipientEmail": "doris@somewhere.non.eu",
"senderTaxId": "IOSS number",
"importerTaxId": "IOSS number",
"shipmentAmount": 100,
"shipmentCurrency": "EUR",
"shipmentGrossWeight": 1500,
"returnItemWanted": false,
"shipmentNaturetype": "SALE_GOODS",
"contents": [
{
"contentPieceHsCode": 1234567890,
"contentPieceDescription": "Hairspray",
"contentPieceValue": "120.50",
"contentPieceNetweight": 1200,
"contentPieceOrigin": "DE",
"contentPieceAmount": 2
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.