Customers
Update a single item.
Single items are not attached to an order. Adding items to an order can be done later.
put/dpi/shipping/v1/customers/{customerEkp}/items/{barcode}
Request
- Base URLhttps://api-sandbox.dhl.com
- Authnone declared
Path parameters
customerEkpstring required
The customers ekp for whom the item shall be created.
barcodestring required
The barcode for the item to be updated.
Headers
ThirdPartyVendor-IDstring
ID to identify a third party vendor.
Request body
Example request
{
"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
}
]
}Response
Data of created items.
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.