---
title: "Trigger webhooks for customer collection, driver drop-off, driver collection"
method: PUT
path: "/{countryCode}/1.0/dp-order-events"
tags: ["PUDO partners API"]
---

# Trigger webhooks for customer collection, driver drop-off, driver collection

`PUT /{countryCode}/1.0/dp-order-events`

Sends Ninja Van a webhook whenever one of the following events occur: 
* Customer collects a parcel from a Ninja Point.
* Driver drops off a parcel at a Ninja Point. 
* Driver collects a parcel from a Ninja Point.

## Path parameters

- `countryCode` 'SG' | 'MY' | 'TH' | 'ID' | 'VN' | 'PH' | 'MM', required

## Request body

- DpOrderEventRequest
  - `tracking_id` string, required — Tracking ID of the parcel.
  - `store_id` string, required — External store ID.
  - `received_at` string — Date and time when the store received the parcel from the driver (yyyy-MM-dd HH:mm:ss in UTC).
  - `released_at` string — Date and time when the store released the parcel to the driver or customer (yyyy-MM-dd HH:mm:ss in UTC).
  - `customer_unlock_code` string — Code used by the customer to collect the parcel.

## Response `202`

Event successfully processed.

## Other responses

- `400` — Validation error (the store doesn't exist or the list of tracking IDs is empty).

---

[API](https://skmtc.net/ninjavan/apis/ninja-van-api.md) · [All operations](https://skmtc.net/ninjavan/apis/ninja-van-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjavan/ninja-van-api/revisions/9096adaf76a2/schema)
