1. Home
  2. Docs
  3. API documentation
  4. customer API
  5. Parcel tracking

Parcel tracking

See an example of an integration:

POST /parcels:track

curl -X 'POST' \
  '.../parcels:track' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "parcelId": "number",
  "g-recaptcha-response": "string"
}'

Status Code 200

{
  "data": [
    {
      "id": "string",
      "state": "new",
      "lastPickUpTime": "2021-06-07T12:33:18.723Z",
      "returnAllowed": true,
      "compartmentSize": 0,
      "origin": {
        "id": "string",
        "title": "ΠΑΝΤΕΛΟΓΛΟΥ ΔΗΜΗΤΡΗΣ",
        "name": "ΠΑΝΤΕΛΟΓΛΟΥ ΔΗΜΗΤΡΗΣ",
        "addressLine1": "ΛΕΩΦΟΡΟΣ ΕΙΡΗΝΗΣ 28",
        "addressLine2": "string",
        "postalCode": "15121",
        "country": "Greece",
        "image": "https://via.placeholder.com/150",
        "note": "You can find it behind the pet shop",
        "lat": "48.78081955454138",
        "lng": "12.446962472273063",
        "type": "address",
        "deliveryPartner": {
          "displayName": "DHL",
          "id": "123690921"
        },
        "deliveryPartnerParcelId": "12312-5-3564"
      },
      "destination": {
        "id": "string",
        "title": "ΠΑΝΤΕΛΟΓΛΟΥ ΔΗΜΗΤΡΗΣ",
        "name": "ΠΑΝΤΕΛΟΓΛΟΥ ΔΗΜΗΤΡΗΣ",
        "addressLine1": "ΛΕΩΦΟΡΟΣ ΕΙΡΗΝΗΣ 28",
        "addressLine2": "string",
        "postalCode": "15121",
        "country": "Greece",
        "image": "https://via.placeholder.com/150",
        "note": "You can find it behind the pet shop",
        "lat": "48.78081955454138",
        "lng": "12.446962472273063",
        "type": "address",
        "deliveryPartner": {
          "displayName": "DHL",
          "id": "123690921"
        },
        "deliveryPartnerParcelId": "12312-5-3564"
      },
      "events": [
        {
          "type": "new",
          "locationDisplayName": "Ελληνικά Ταχυδρομεία",
          "postalCode": "104 37",
          "createTime": "2021-06-07T12:33:18.723Z"
        }
      ]
    }
  ]
}