Skip to main content

Parcel Shops

Search for DPD pickup points (parcel shops, lockers, service points) by address or GPS coordinates.

Base Path: /api/v1/parcel-shop Auth: Bearer JWT token required


Endpoints summary

MethodEndpointDescription
GET/api/v1/parcel-shop/{parcelShopId}Get a specific parcel shop by ID
POST/api/v1/parcel-shop/addressSearch parcel shops by address
POST/api/v1/parcel-shop/coordinatesSearch parcel shops by GPS coordinates

GET /api/v1/parcel-shop/{parcelShopId}

Retrieve details for a specific parcel shop.

Path parameter: parcelShopId — e.g., 699CH190001

Query parameter: locale (optional) — e.g., de_CH

curl -X GET "https://label-print-shipments.dpd.ch/api/v1/parcel-shop/699CH190001?locale=de_CH" \
-H "Authorization: Bearer <jwt_token>"

Response 200 OK:

{
"id": "699CH190001",
"parcelShopId": 190001,
"name": "DPD Pickup Point Zürich HB",
"distance": 250,
"type": 1,
"address": {
"name": "Kiosk Hauptbahnhof",
"street": "Bahnhofplatz",
"houseNumber": "1",
"zipCode": "8000",
"city": "Zürich",
"countryCode": "CH"
},
"available": "Y",
"latitude": 47.3769,
"longitude": 8.5417,
"openingHours": [
{
"weekDay": "MONDAY",
"openMorning": "06:00",
"closeMorning": "22:00",
"openAfternoon": null,
"closeAfternoon": null
}
],
"holidays": [
{ "start": "2025-12-24", "end": "2025-12-26" }
],
"services": [
{ "code": "PICKUP", "available": true, "description": "Parcel pickup available" },
{ "code": "DROPOFF", "available": true, "description": "Parcel drop-off available" }
]
}

Status codes: 200 OK | 401 Unauthorized | 404 Not Found


POST /api/v1/parcel-shop/address

Search for parcel shops near an address. Results sorted by distance (closest first).

Request body:

FieldTypeRequiredDescriptionDefault
countryString (2)MandatoryISO country code
zipCodeStringMandatoryPostal code
cityStringOptionalCity name
streetStringOptionalStreet name
destCountryCodeStringOptionalDestination country for service filtering
weightStringOptionalParcel weight in kg
servicesStringOptionalComma-separated service codes
typeStringOptionalParcel shop type filter
limitIntegerOptionalMax results25
availabilityDateStringOptionalCheck availability on date (yyyy-MM-dd)
hideClosedBooleanOptionalExclude currently closed shopsfalse
curl -X POST "https://label-print-shipments.dpd.ch/api/v1/parcel-shop/address?locale=de_CH" \
-H "Authorization: Bearer <jwt_token>" \
-H "Content-Type: application/json" \
-d '{
"country": "CH",
"zipCode": "8000",
"city": "Zürich",
"limit": 10
}'

Status codes: 200 OK (may return empty list) | 400 Bad Request | 401 Unauthorized


POST /api/v1/parcel-shop/coordinates

Search for parcel shops near GPS coordinates. Same filtering and response format as address search.

Request body:

FieldTypeRequiredDescription
latitudeDoubleMandatoryGPS latitude (−90 to 90)
longitudeDoubleMandatoryGPS longitude (−180 to 180)
destCountryCodeStringOptionalDestination country
limitIntegerOptionalMax results (default: 25)
hideClosedBooleanOptionalExclude closed shops (default: false)
availabilityDateStringOptionalCheck availability on date
curl -X POST "https://label-print-shipments.dpd.ch/api/v1/parcel-shop/coordinates" \
-H "Authorization: Bearer <jwt_token>" \
-H "Content-Type: application/json" \
-d '{
"latitude": 47.3769,
"longitude": 8.5417,
"limit": 10,
"hideClosed": true
}'

Status codes: 200 OK | 400 Bad Request | 401 Unauthorized


Parcel shop types

TypeDescription
1DPD Pickup Point
2DPD Locker
3Partner Shop (e.g., Post Office)
4Service Point

Code examples

Parcel shop selector in a shipment form:

async function searchParcelShops(zipCode, city) {
const response = await fetch(
'https://label-print-shipments.dpd.ch/api/v1/parcel-shop/address',
{
method: 'POST',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({ country: 'CH', zipCode, city, limit: 10 })
}
);
return response.json();
}

Map-based finder:

function findNearby(lat, lng) {
return fetch('https://label-print-shipments.dpd.ch/api/v1/parcel-shop/coordinates', {
method: 'POST',
headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ latitude: lat, longitude: lng, limit: 20, hideClosed: true })
}).then(r => r.json());
}