跳到主要内容

Record a delivery event

POST 

/api/delivery-events

Records a tracking event and moves the package status to event_type. Requires the delivery.tracking plan feature; a signed-in user also needs the deliveries or scan permission.

With waybill_id the event is recorded on each package of the waybill and the response carries the event of the first package. Every package is checked first: a conflict on any of them fails the request with 409 and records nothing.

An event conflicts when the package already has an event of a later stage, or any event at or after event_time.

If photos fail to upload, the event is still created: the response is 201 with _podUploadError set.

Request​

Responses​

The created event.