USPS / api-examples

76 stars 16 forks source link

Valid `trackingNumber` for Tracking 3.0 API on CAT #34

Open nanotaboada opened 3 months ago

nanotaboada commented 3 months ago

I'm currently working on an integration with Tracking 3.0 API on the CAT instance:

https://api-cat.usps.com/tracking/v3/tracking/{trackingNumber}?expand=detail

But using random values (e.g. 0123456789) as trackingNumber do not produce the expected detailed response.

Are there any valid trackingNumber that it can be used to properly validate an integration with the API?

dylandrush commented 2 months ago

I'm not sure where I found these but here's some tracking numbers that work in the sandbox:

### A status update is not yet available on your package
9434611206217011894085

### Delivered, Front Door/Porch
420117419361289691090029427113

### Delivered, In/At Mailbox
4203278000009205596900893430673167

### Picked Up by Shipping Agent
4205690192023901019232002167055441

### Notice Left
92026124161170148800003176

### Notice Left
92041124161170148800003131

### Delivery Attempted - No Access to Delivery Location
92055124161170148800000274

### Pre-Shipment, USPS Awaiting Item
9205590982952107001084

###  Pre-Shipment, USPS Awaiting Item
92148901324734000366090360

### Delivered, In/At Mailbox
9241999996333426012948

### Delivered, Front Door/Porch
9361289673090019555035

### Awaiting Delivery
9374889680090025188414

### Delivered
420176039374889681090008004266

### Picked Up by Shipping Agent
4205690192023901019232002168365426

### Arrived at Post Office
420982779361289674090007809804

### Pre-Shipment, USPS Awaiting Item
9302020128700426875657

### Arrived at Post Office
9361289674090006647636
ckarjadi commented 1 week ago

How were you able to utilize the Tracking API? I have the same issue as others here. Did you have to follow the same steps as them, where you have to contact USPS support to enable tracking for your token(s)?