Pickup/Drop-Off Locations
Our API allows you to find nearby pickup or drop-off (PUDO) locations for carriers based on the location and distance.
Overview
These requests allow you to get pickup and drop-off locations from carriers through a proximity-based search with a single HTTPS request and is typically used during checkout and the returns process to provide location options.
You can retrieve location information through these APIs using a unique identifier and allow customers to choose a convenient location before a shipping label is generated.
Find Pickup/Drop-Off Locations
You can retrieve the pickup and drop-off locations for a carrier using the v4/track/place-info/lookup endpoint.
Lookup drop-off/pick-up locations for a courier, by location & distance.
Which field to use when ordering the results.
ID of account for this lookup
ISO 3166-1 alpha-3 code of country
^\w{3}$POST /v4/track/place-info/lookup/ HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 520
{
  "account": 1,
  "location": {
    "type": "Point",
    "latitude": 1,
    "longitude": 1,
    "postal_code": "text",
    "region_code": "text",
    "city": "text",
    "country_iso3": "text"
  },
  "lookups": [
    {
      "courier": "text",
      "service_level": "text",
      "criteria": [
        "dropoff_location"
      ],
      "max_distance": 20,
      "unit": "km",
      "limit": 10
    }
  ],
  "country_iso3": "text",
  "location_address": {
    "first_name": "text",
    "last_name": "text",
    "company_name": "text",
    "address_line": "text",
    "address_line_extra": "text",
    "postal_code": "text",
    "city": "text",
    "country_iso3": "text",
    "region_code": "text",
    "phone": "text"
  }
}[
  {
    "location_address": {
      "first_name": "text",
      "last_name": "text",
      "company_name": "text",
      "address_line": "text",
      "address_line_extra": "text",
      "postal_code": "text",
      "city": "text",
      "country_iso3": "text",
      "region_code": "text",
      "phone": "text"
    },
    "location": {
      "type": "Point",
      "latitude": 1,
      "longitude": 1,
      "postal_code": "text",
      "region_code": "text",
      "city": "text",
      "country_iso3": "text"
    },
    "opening_hours": [
      {
        "day": "mon",
        "open": "18:04:31",
        "close": "18:04:31"
      }
    ],
    "raw_place_type": "text",
    "distance": null,
    "courier": "text",
    "country_iso3": "text",
    "place_type": "default",
    "name": "text",
    "phone_number": "text",
    "website": "https://example.com",
    "criteria": [
      "text"
    ],
    "services": [
      "drop_box"
    ],
    "raw_services": [
      "text"
    ],
    "has_details": true,
    "is_in_service": true,
    "external_reference": "text",
    "external_id": "123e4567-e89b-12d3-a456-426614174000",
    "additional_info": {}
  }
]Get Pickup/Drop-Off Location Details
You can retrieve the details of pickup and drop-off locations for a carrier using the v4/track/place-info/{external_id} endpoint.
Lookup drop-off/pick-up locations for a courier, by location & distance.
parcelLab generated unique ID for this place
GET /v4/track/place-info/{external_id}/ HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "location_address": {
    "first_name": "text",
    "last_name": "text",
    "company_name": "text",
    "address_line": "text",
    "address_line_extra": "text",
    "postal_code": "text",
    "city": "text",
    "country_iso3": "text",
    "region_code": "text",
    "phone": "text"
  },
  "location": {
    "type": "Point",
    "latitude": 1,
    "longitude": 1,
    "postal_code": "text",
    "region_code": "text",
    "city": "text",
    "country_iso3": "text"
  },
  "opening_hours": [
    {
      "day": "mon",
      "open": "18:04:31",
      "close": "18:04:31"
    }
  ],
  "raw_place_type": "text",
  "courier": "text",
  "country_iso3": "text",
  "place_type": "default",
  "name": "text",
  "phone_number": "text",
  "website": "https://example.com",
  "criteria": [
    "text"
  ],
  "services": [
    "drop_box"
  ],
  "raw_services": [
    "text"
  ],
  "has_details": true,
  "is_in_service": true,
  "external_reference": "text",
  "external_id": "123e4567-e89b-12d3-a456-426614174000",
  "additional_info": {},
  "account": 1
}Last updated
Was this helpful?