mode_heatDocs
groupsTeams
light_mode

Event (Express)

Kami akan menggunakan protokol RestAPI dengan body berupa JSON object.

Anda dapat memanfaatkan endpoint tracking jika terjadi galat ketika menerima webhook dari kami

Format selalu menggunakan YYYY-MM-DD HH:i:s (PHP date format) contoh seperti dibawah. Silahkan sesuaikan dengan bahasa program yang anda gunakan.

KeyTypeValue
AuthorizationBearerBearer {your_token}

Parameter

ParameterTypeDescription
methodStringKami akan menulis nama method mengikuti data yang dikirimkan (plural atau singular)
dataMixedKami akan menggunakan data sesuai method

Event

Return Finished

Akan dikirimkan pada saat paket telah sampai ke pengirim.

{
  "method": "return_finished_packages",
  "data": [
    {
      "order_id": "OID-40592020",
      "date": "2021-03-31 00:00:00"
    },
    {
      "order_id": "OID-40592021",
      "date": "2021-03-31 00:00:00"
    }
  ]
}

Processed

Akan dikirimkan pada saat AWB milik order id terbuat atau digenerate oleh sistem

{
  "method": "processed_packages",
  "data": [
    {
      "order_id": "X",
      "awb": "Y"
    }
  ]
}

Shipped

Akan dikirimkan pada saat paket telah manifest ke ekspedisi

{
  "method": "shipped_packages",
  "data": [
    {
      "order_id": "X",
      "shipped_at": "2022-05-05 00:00:00"
    }
  ]
}

Delivered / Finished

Akan dikirimkan pada saat paket telah sampai ke tujuan

{
  "method": "finished_packages",
  "data": [
    {
      "order_id": "X",
      "finished_at": "2022-05-05 00:00:00"
    }
  ]
}

RTS Finish

{
  "method": "returned_packages",
  "data": [
    {
      "order_id": "X",
      "returned_at": "2022-05-05 00:00:00"
    }
  ]
}

Instant Package

{
  "method": "update_instant_packages",
  "data": {
    "order_id": "NBL2-1704870212382",
    "status": "cancel",
    "awb": "GK-11-3114100",
    "driver": {
      "name": "string",
      "phone": "string",
      "image": "string"
    },
    "shipping_price": 34000,
    "live_track_url": "http://gjk.io/abcd",
    "detail": {
      "weight": 2000,
      "width": null,
      "height": null,
      "length": null
    },
    "insurance": null,
    "insurance_amount": null,
    "service": "gosend",
    "service_name": "instant",
    "poly_line": "string of polyline",
    "event_date": "2024-01-10T08:21:28.301662Z",
    "cancel_date": "2024-01-10T08:18:05.000000Z",
    "cancel_reason": null,
    "rejected_date": null,
    "rejection_note": null
  }
}
© 2024 PT. Selalu Siap Solusi
Made with ❤️ from Palagan, Yogyakarta