diff --git a/official/docs/curl/current/usps-tracker-registrations/create.sh b/official/docs/curl/current/usps-tracker-registrations/create.sh new file mode 100644 index 00000000..e65c58b4 --- /dev/null +++ b/official/docs/curl/current/usps-tracker-registrations/create.sh @@ -0,0 +1,15 @@ +curl -X POST https://api.easypost.com/v2/carrier_claims/usps_tracker_registrations \ + -u "EASYPOST_API_KEY": \ + -H "Content-Type: application/json" \ + -d '{ + "tracker_registrations": [ + { + "tracking_code": "9400111899223344556677", + "product_value": "25.50", + "recipient": { + "first_name": "Jane", + "last_name": "Doe" + } + } + ] +}' diff --git a/official/docs/curl/current/usps-tracker-registrations/list.sh b/official/docs/curl/current/usps-tracker-registrations/list.sh new file mode 100644 index 00000000..c2f9f2c9 --- /dev/null +++ b/official/docs/curl/current/usps-tracker-registrations/list.sh @@ -0,0 +1,2 @@ +curl -X GET https://api.easypost.com/v2/carrier_claims/usps_tracker_registrations \ + -u "EASYPOST_API_KEY": diff --git a/official/docs/curl/current/usps-tracker-registrations/retrieve.sh b/official/docs/curl/current/usps-tracker-registrations/retrieve.sh new file mode 100644 index 00000000..123098fa --- /dev/null +++ b/official/docs/curl/current/usps-tracker-registrations/retrieve.sh @@ -0,0 +1,2 @@ +curl -X GET https://api.easypost.com/v2/carrier_claims/usps_tracker_registrations/utr_... \ + -u "EASYPOST_API_KEY": diff --git a/official/docs/responses/usps-tracker-registrations/usps-tracker-registrations-create.json b/official/docs/responses/usps-tracker-registrations/usps-tracker-registrations-create.json new file mode 100644 index 00000000..8b4ea04e --- /dev/null +++ b/official/docs/responses/usps-tracker-registrations/usps-tracker-registrations-create.json @@ -0,0 +1,29 @@ +{ + "summary": { + "processed_count": 1, + "failed_count": 0 + }, + "tracker_registrations": [ + { + "id": "utr_0123456789abcdef0123456789abcdef", + "tracking_code": "9400111899223344556677", + "product_value": "25.50", + "mail_class_code": "PM", + "recipient": { + "first_name": "Jane", + "last_name": "Doe", + "company": null + }, + "product_description": "Other", + "shipment_date": "2026-01-15", + "status": "MONITORING", + "tracker_public_id": "trk_0123456789abcdef0123456789abcdef", + "claim_type": null, + "claims_usps_id": null, + "consent_accepted_at": "2026-01-15T12:00:00Z", + "created_at": "2026-01-15T12:00:00Z", + "updated_at": "2026-01-15T12:00:01Z" + } + ], + "failed_registrations": {} +} diff --git a/official/docs/responses/usps-tracker-registrations/usps-tracker-registrations-list.json b/official/docs/responses/usps-tracker-registrations/usps-tracker-registrations-list.json new file mode 100644 index 00000000..a77d5fd7 --- /dev/null +++ b/official/docs/responses/usps-tracker-registrations/usps-tracker-registrations-list.json @@ -0,0 +1,25 @@ +{ + "tracker_registrations": [ + { + "id": "utr_0123456789abcdef0123456789abcdef", + "tracking_code": "9400111899223344556677", + "product_value": "25.50", + "mail_class_code": "PM", + "recipient": { + "first_name": "Jane", + "last_name": "Doe", + "company": null + }, + "product_description": "Other", + "shipment_date": "2026-01-15", + "status": "MONITORING", + "tracker_public_id": "trk_0123456789abcdef0123456789abcdef", + "claim_type": null, + "claims_usps_id": null, + "consent_accepted_at": "2026-01-15T12:00:00Z", + "created_at": "2026-01-15T12:00:00Z", + "updated_at": "2026-01-15T12:00:01Z" + } + ], + "has_more": false +} diff --git a/official/docs/responses/usps-tracker-registrations/usps-tracker-registrations-retrieve.json b/official/docs/responses/usps-tracker-registrations/usps-tracker-registrations-retrieve.json new file mode 100644 index 00000000..c8968bab --- /dev/null +++ b/official/docs/responses/usps-tracker-registrations/usps-tracker-registrations-retrieve.json @@ -0,0 +1,20 @@ +{ + "id": "utr_0123456789abcdef0123456789abcdef", + "tracking_code": "9400111899223344556677", + "product_value": "25.50", + "mail_class_code": "PM", + "recipient": { + "first_name": "Jane", + "last_name": "Doe", + "company": null + }, + "product_description": "Other", + "shipment_date": "2026-01-15", + "status": "MONITORING", + "tracker_public_id": "trk_0123456789abcdef0123456789abcdef", + "claim_type": null, + "claims_usps_id": null, + "consent_accepted_at": "2026-01-15T12:00:00Z", + "created_at": "2026-01-15T12:00:00Z", + "updated_at": "2026-01-15T12:00:01Z" +}