-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4df9378
commit b57ac92
Showing
1 changed file
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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": "[email protected]" | ||
}, | ||
"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 | ||
|
||
<Http code="200" /> | ||
|
||
```json | ||
{ | ||
"data": { | ||
"ids": [ | ||
{ | ||
"id": 192789044, | ||
"reference_identifier": "FOO-222-BAR-42" | ||
} | ||
] | ||
} | ||
} | ||
``` | ||
|
||
::: | ||
|
||
::: expand h4: DHL for you: Create domestic shipment | ||
|
||
##### Request | ||
|