diff --git a/src/api-reference/06.shipments.md b/src/api-reference/06.shipments.md index ac1238ff..21d55bd2 100644 --- a/src/api-reference/06.shipments.md +++ b/src/api-reference/06.shipments.md @@ -1612,6 +1612,80 @@ Authorization: bearer BASE64_ENCODED_API_KEY ::: +::: expand h4: DPD: Create European shipment with DE pickup location + +##### Request + +``` +POST https://api.myparcel.nl/shipments HTTP/1.1 +Content-Type: application/vnd.shipment+json;version=1.1;charset=utf-8 +User-Agent: CustomApiCall/2 +Authorization: bearer BASE64_ENCODED_API_KEY +``` + +```json +{ + "data": { + "shipments": [ + { + "reference_identifier": "FOO-222-BAR-42", + "recipient": { + "cc": "DE", + "region": "Berlin", + "postal_code": "10117", + "city": "Berlin", + "street": "Unter den Linden", + "number": "1", + "person": "Mr. Parcel", + "phone": "0233030315", + "email": "testing@myparcel.nl" + }, + "physical_properties": { + "weight": 1000, + "height": 10, + "width": 10, + "length": 12 + }, + "options": { + "package_type": 1, + "label_description": "European shipment with DPD carrier and pickup", + "delivery_type": 4 + }, + "pickup": { + "postal_code": "13057", + "location_name": "Foto Runge", + "city": "Berlin", + "street": "Warnitzer Straße", + "number": "16", + "cc": "DE", + "location_code": "68695056525155" + }, + "carrier": 4 + } + ] + } +} +``` + +##### Response + + + +```json +{ + "data": { + "ids": [ + { + "id": 192789044, + "reference_identifier": "FOO-222-BAR-42" + } + ] + } +} +``` + +::: + ::: expand h4: DHL for you: Create domestic shipment ##### Request