ProofOfDeliveryService class (accessed via client.proofOfDelivery) retrieves the captured proof that a parcel reached its recipient — a photo, a one-time PIN confirmation, or a signature, depending on how the rider closed out the delivery.
getProofOfDelivery
Returns the proof-of-delivery (POD) record for a delivered shipment. Use it to confirm successful handover, resolve disputes, or attach evidence to your own order records.
The contents of
pod.data depend on the type of proof captured:
A shipment with no proof recorded answers
404 rather than an empty object, so a missing proof
is distinguishable from a delivery that was never evidenced.
