Receiving APIs
//
Archive Package
This operation marks the specified package as archived by updating its archived status to true. Archiving a package indicates that its lifecycle is complete, and it is no longer actively tracked. While archived packages are removed from active workflows, their records remain accessible for future reference
Security
bearerAuth
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/pitneytrack/api/v1/packages/{packageId}/archive
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/pitneytrack/api/v1/packages/{packageId}/archive
curl -i -X PATCH \
https://api-sandbox.sendpro360.pitneybowes.com/pitneytrack/api/v1/packages/NeLnz9LZ1j4KK5WlEOlyW/archive \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"archived": true
}'Response
{ "packageId": "ma39N30J6YgdxndDpXyOj" }